Support » Fixing WordPress » wp-login.php?redirect_to

Viewing 3 replies - 1 through 3 (of 3 total)
  • Most common problem is caused by inconsistency such as the WWW in the URL.

    I’m a complete idiot. After examining my other WordPress sites, this is totally normal behavior. The /wp-admin/ redirects to the /wp-login.php file with the redirect string attached. That’s just what it does.

    Sheesh, this stupid question can be closed and deleted forever.

    I should add, for anyone who finds this and wants to know more, think of it this way:

    /wp-admin/ is where the dashboard and everything is. However, you can’t access the dashboard until you’ve logged in. So when you’re not logged in, /wp-admin/ first sends you to /wp-login.php?redirect_to=yoursite/wp-admin/ so after you submit the login information, it redirects you back to the /wp-admin/ where you can now access the dashboard.

    Ta-da. It seems really obvious after the initial realization, but don’t feel bad if you found this thinking as I did, “why the heck is it redirecting to itself?”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-login.php?redirect_to’ is closed to new replies.