I need Access to my old blog after I (4 posts)

  1. grnidone
    Posted 4 years ago #

    I did a colossally stupid thing.

    I was reading the "moving wordpress to a new server" here:

    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?

  2. Jonas Grumby
    Posted 4 years ago #

    You don't have to create a new database to change the site URL.


  3. grnidone
    Posted 4 years ago #

    Too late. I JUST created a new database...and after some thought, I want to have two separate sites: one to develope on (hidden from users and search engines and the one that customers interact with.

    So, how do I get the old blog back?

  4. grnidone
    Posted 4 years ago #

    Ok. I've decided to follow your instructions carefully and get the old blog back by changing the url BACK to the old one.

Topic Closed

This topic has been closed to new replies.

About this Topic