Cannot access to my admin panel anymore due to wrong redirection (5 posts)

  1. Fab_DM
    Posted 3 years ago #


    i hope there's someone who could help me with this.
    I try to be brief:

    I have setup 2 wordpress sites, 1 on mydomain.com and one on mydomain.com/it
    I was just trying to see if i could temporary redirect traffic from mydomain.com to mydomain.com/it so this is what i did:

    - I went to mydomain.com admin panel and under Setting>General i changed the WordPress URL and Site URL from mydomain.com to mydomain.com/it.

    Now, if i go to mydomain.com it gets me to mydomain.com/it but the problem is that i cannot access anymore to mydomain.com admin panel to apply any change so it's like i lost control of my site.

    Is there any way to change redirection back accessing via FTP or with something else?

    Thanks a lot in advance to will help me!


  2. Roman
    Posted 3 years ago #

    You have access to the database? If yes, then you need to change the address table wp_options there.

  3. Mark Ratledge
    Forum Moderator
    Posted 3 years ago #

    @Roman: there are easier ways to recover

    @Fab_DM: See Changing The Site URL « WordPress Codex for recovery instructions to get the original site back to the original URL.

  4. Fab_DM
    Posted 3 years ago #

    Awesome Roman, thanks a lot!!!!!! :)

    I could edit it in phpmyadmin, wp_options so i changed site URL back to mydomain.com

    Thanks again!!!!

  5. Fab_DM
    Posted 3 years ago #

    Thanks songdogtech!!

    I was able to do it as Roman suggested but definetely the link you provided is something i will have to read carefully!!

    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic