WordPress frontpage redirects to admin for all visitors

I have a funny issue that I haven’t encountered before in my more than 10 years of working with WordPress.

Whenever I access the frontpage of my site, it automatically redirects to mysite.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.mysite.com%2Fwp-admin%2F&reauth=0

I have searched Google thin for an answer, but I can’t find a single person talking about having this kind of issue, only the opposite issue of admin redirecting to homepage.

I’ve tried disabling my plugins, and changing theme – all without effect. And .htaccess is set up quite simple, so that should not be causing it either:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# END WordPress

Feel free to mail me for the link if you are curious, as this issue is quite perplexing for me.

Read more here:: WordPress frontpage redirects to admin for all visitors

Leave a Reply

Your email address will not be published. Required fields are marked *