I just moved my drupal website to another host. But I am unable to login as
mysite.com/user. It gives me a
404 not found error which means clean urls are not working afaik.
So, I checked PHP configuration with
phpinfo(); and there is
"mod_rewrite" visible in
"loaded modules" section.
Anyway, I wanted to disable clean urls, however if I try to login as
mysite.com/?q=user, it redirects to
mysite.com/user and it is giving
404 not found error again.
So I kinda have no way to login to my website to update URL aliases. I have renamed my
.htaccess file to disable it, result did not change.
I have updated this line:
RewriteRule ^ index.php [L]
to this line:
# RewriteRule ^ index.php [L] RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Still, nothing changes. Since I can't control the web server, all I have is FTP and MySQL. Any ideas?