Title: WordPress Changing URL Error
Last modified: August 21, 2016

---

# WordPress Changing URL Error

 *  [crizual](https://wordpress.org/support/users/crizual/)
 * (@crizual)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wordpress-changing-url-error/)
 * Hello! I am having problem with URL on my site. I’ve changed the top WordPress
   Address (URL – in admin panel) from: [http://www.mysite/wordpress](http://www.mysite/wordpress)
   to [http://www.mysite/blog](http://www.mysite/blog) now it’s not showing.
 * What should I do?
 * Thanks for help

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

 *  [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wordpress-changing-url-error/#post-4173736)
 * change it back !
 * Presume you now can’t get access?
 * If so, then you’ll need to get phpmyadmon access – your host provider should 
   be able to tell you how
 * Then you’ll need to change the settings in the database
 * find the sql tab, and click it, then paste the following into it
 * UPDATE wp_options SET option_value = ‘[http://www.mysite.com&#8217](http://www.mysite.com&#8217);
   WHERE option_name IN (‘siteurl’, ‘home’)
 * where the ‘[http://www.mysite.com&#8217](http://www.mysite.com&#8217); is the
   url you want to change it back to
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wordpress-changing-url-error/#post-4173744)
 * Check out the Codex:
 * [Changing The Site URL](http://codex.wordpress.org/Changing_The_Site_URL)
 * [Moving WordPress](http://codex.wordpress.org/Moving_WordPress)
 * If you have moved changed your WordPress install directory name from “wordpress”
   to “blog,” you’ll need to update
 * `siteurl` to be `http://www.mysite/blog`
 * and
 * `home` to be whatever you want the home page URL to be, probably either `http://
   www.mysite/blog` or `http://www.mysite`.
 * I generally use the wp-login.php trick (see [Moving WordPress](http://codex.wordpress.org/Moving_WordPress))
   so I don’t have to mess with the database. But either way is fine.

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

The topic ‘WordPress Changing URL Error’ is closed to new replies.

## Tags

 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/wordpress-changing-url-error/#post-4173744)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
