Cannot login after moving site
In your new machine you probably installed Apache and did not enable a2enmod rewrite

To enable it, copy and paste the following line to your command line:

sudo a2enmod rewrite &amp;&amp; sudo service apache2 restart




Another way to enable it (in case you're on Windows), you could edit /apache/conf/httpd.conf and uncomment (remove the #) from #LoadModule rewrite_module modules/mod_rewrite.so line and restart Apache.