Title: Access to admin panel
Last modified: August 20, 2016

---

# Access to admin panel

 *  [cyr_1979](https://wordpress.org/support/users/cyr_1979/)
 * (@cyr_1979)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/)
 * 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)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341746)
 * Change the urls back. See [Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
   for details of how to do this.
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341747)
 * 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 !
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341750)
 * Yes, Thanks Esmi.
    4 ways to fix this ! I never knew that. Great !
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341751)
 * **[@riversatile](https://wordpress.org/support/users/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.
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341766)
 * 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](https://wordpress.org/support/users/cyr_1979/)
 * (@cyr_1979)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341874)
 * 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.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341883)
 * 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](https://wordpress.org/support/users/cyr_1979/)
 * (@cyr_1979)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341980)
 * 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.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341982)
 * Because that’s not how you move WordPress. If you want to physically move the
   site, see [Moving_WordPress](http://codex.wordpress.org/Moving_WordPress).

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/access-to-admin-panel/#post-3341982)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
