Support » Fixing WordPress » I need Access to my old blog after I

  • I did a colossally stupid thing.

    I was reading the “moving wordpress to a new server” here:
    http://codex.wordpress.org/Moving_WordPress

    And I read the part about “if you don’t care if your old blog works” and followed the directions which told me to:

    Go back to your OLD blog and go to Administration > Settings > General and change the url (both of them) to that of your new site.

    But then I realized I forgot to do something and I needed the old blog running.

    Now, my old blog url redirects me to my new blog url (which, of course is what it should do).

    So I did the “Accidently changed your wordpress site url” instructions on the Moving WordPress to a new server page and added this

    //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' )

    ;

    to my wp-login.php file. However, the code still redirects me to my new site url.

    The good news is, I can access my database through php MyAdmin, so all is not lost, but I’d like to get my old blog back.

    I’m sure I’m not the only idiot who did this…Is there a way to get back what I had?

    Or…even better, is there a way just to tell the new site to use the old site’s database without re-creating a new database?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need Access to my old blog after I’ is closed to new replies.