Moved Drupal 7 site to a different server, can't log in

前端 未结 7 1508
醉酒成梦
醉酒成梦 2021-02-13 15:32

I recently moved my Drupal 7 site to a new hosting server and I\'m stuck at the login page. As soon as I try and log in, I get directed back to the same page, but the URL change

相关标签:
7条回答
  • 2021-02-13 16:18

    Sometimes problems relating to logging in after a site migration can be because mod_rewrite was enabled on the first machine but not the second. A simple way to test this is to use the ?q= URL format (http://site.localhost?q=user) and see if you can log in like that. If that works then you can either disable clean urls from within the Drupal interface, or enable mod rewrite in Apache.

    0 讨论(0)
提交回复
热议问题