Wordpress Not Showing Up

Out of context: Reply #12

  • Started
  • Last post
  • 12 Responses
  • ideaist0

    http://codex.wordpress.org/Movin…

    "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. Find this line:

    require( dirname(__FILE__) . '/wp-load.php' );
    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/pat... );
    update_option('home', 'http://your.domain.name/the/pat... );
    You're done. Test your site to make sure that it works right. If the change involves a new address for your blog, make sure you let people know the new address, and consider adding some redirection instructions in your .htaccess file to guide visitors to the new location."

    • DId you change the URIs before moving it? I made said mistake and easily fixed using this!ideaist

View thread