redirect wp-admin to localhost
-
Hi,
I just run into the problem that I can’t access the admin pages anymore. The blog itself works fine. No redirect problem there.
When I try to access the admin page with:
http://www.mysite.com/wp-admin/
the URL changes to:
http://localhost/?redirect_to=http%3A%2F%2Fwww.mysite.com%2Fwp-admin%2F&reauth=1
I checked the wp_options table – no “localhost” entry there. siteurl and home show the correct domain name.
That’s my htaccess file:
SetEnv PHPRC /home/mysite/public_html/php.ini# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
I don’t remember to have changed anything between my last successful login and today.
Any hints would be great!
Detlef
The topic ‘redirect wp-admin to localhost’ is closed to new replies.