• Hi,

    This is a weird one. I googled for hours but seems to me not a single person has this same issue.

    I moved my website from http://www.domain1.com/wpfolder to http://www.domain2.com . Everything works fine except I cannot get the “wp-login.php?redirect_to” path to point to the correct url.

    WordPress keeps setting it to:
    “wp-login.php?redirect_to=http://www.domain2.com/wpfolder/wp-admin&reauth=1”

    It should be setting it to:
    “wp-login.php?redirect_to=http://www.domain2.com/wp-admin&reauth=1”

    The “wpfolder” doesn’t exist anymore..

    I followed the instructions exactly on how to move a WordPress website, but the darn URL won’t change…

    Some forum mentioned changing the “site_url” and “home” from “http://www.domain2.com” to “http://domain2.com”. Now I can finally get to the admin panel, but I don’t get why it needs to be that way?

    I cleaned my browser cookies and checked the wp-content folder for cache already. Nada..

    Also the rest of the site is functional.

    I would appreciate if anyone can help.

The topic ‘Cannot change the "wp-login.php?redirect_to" path??’ is closed to new replies.