Viewing 2 replies - 1 through 2 (of 2 total)
  • 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’ WHERE option_name IN (‘siteurl’, ‘home’)

    where the ‘http://www.mysite.com’ is the url you want to change it back to

    Check out the Codex:

    Changing The Site URL

    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) 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.