WordPress.org

Support

Support » Plugins and Hacks » Unchange the change domain

Unchange the change domain

Viewing 5 replies - 1 through 5 (of 5 total)
  • refer to: http://codex.wordpress.org/Moving_WordPress

    If you have accidentally changed your WordPress site URL

    Suppose you accidentally changed the URIs where you cannot move the files. (but still can access the login page, through a redirection or something)

    wp-login.php can be used to (re-)set the URIs.

    1- Find this line:

    require( dirname(__FILE__) . ‘/wp-load.php’ );

    2- and insert the following lines below:

    //FIXME: do comment/remove these hack lines. (once the database is updated)
    update_option(‘siteurl’, ‘http://your.domain.name/the/path’ );
    update_option(‘home’, ‘http://your.domain.name/the/path’ );

    3- When you’re done, login to your admin dashboard (yoursite.com/wp-admin/) and reversed the domain name change with the same step using WordPress Move. I’t work for me. Done.

    I did the same. But now, the header images and background images won’t load, and can’t re-add them.

    Well this is all really a bad idea. The plugin warns nothing of he dangers of jacking up the database structure. Currently, the site still thinks its on a different URL for all images, and even uploads. Help!

    After editing the SQL, i’ve fixed most of the broken image base URLs. But still, when uploading a new header image, wordpress still thinks its on a different url. Does this plugin modify wordpress theme or core files when using it?

    Can anyone tell me why my header images are still going to the wrong URL?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unchange the change domain’ is closed to new replies.