• Hello,

    I changed the url for the blog address in the settings section of the admin panel.

    Unfortunately, I put the wrong URL in and now I cannot access the admin panel anymore as all the links have changed to the wrong URL.

    Does anyone know how I could fix this?

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Change the urls back. See Changing_The_Site_URL for details of how to do this.

    Just logon directly to your database host (for example ‘phpmyadmin’).
    Go to the “wp_options” table
    Go to the “Site url” row
    Click “Edit”
    Change the Site URL value
    Then click “Save” (Go)

    That’s it !

    Yes, Thanks Esmi.
    4 ways to fix this ! I never knew that.
    Great !

    @riversatile: You missed the first step in your solution.
    Step 1: Back up your database first.

    🙂

    Seriously – if anyone is thinking of editing their db directly, they should always back it up first. Even the best of us make mistakes sometimes.

    Yeah, you’re right !

    I missed this step here because I receive backup 2 times a day automaticaly in my mailbox 😉

    But for big changes in my DB, I always do a backup before.

    Thread Starter cyr_1979

    (@cyr_1979)

    Thanks for all your answers.

    In the end I used a plugin called redirect.

    However, since the redirect is in place, I cannot login to the admin panel anymore.

    Any idea why?

    Thank you.

    Get rid of the plugin and try one of the methods listed in the page I linked to above. I prefer the functions.php method myself.

    Thread Starter cyr_1979

    (@cyr_1979)

    Hi esmi,

    Thank you for your answer.

    Actually, what I need to do is to redirect the current blog address using a 301 redirect.

    What I did was that I moved the code files to another folder in my website. I then emptied the old blog folder and just created a page that would point to the new folder.

    However, if I do that the site does not work anymore.

    Do you know why?

    Thank you.

    Because that’s not how you move WordPress. If you want to physically move the site, see Moving_WordPress.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Access to admin panel’ is closed to new replies.