Support » Fixing WordPress » Importing old files into new blog

  • I posted this question once before but received no responses so I thought I’d try again.

    I had a blog on a domain that I let expire. I’d like to transfer the posts from that old blog to my new one, on a new domain, preferably as an archive. Any help on how to accomplish this would be greatly appreciated.
    I should mention that I can’t log in to the old site so I can’t make an export file.

    Thanks,

    Bernie

Viewing 5 replies - 1 through 5 (of 5 total)
  • Well, if you have access the the feed url, then you can import as many posts as are included in that feed.

    Just go to the old blog and save the feed as an XML file.

    Then open your new blog. Go to Manage->Import. There you will find the option to import an RSS file. Upload and follow the instructions.

    Good luck.

    Thread Starter cybernianyc

    (@cybernianyc)

    Thanks for your reply.

    I found the feed url but I have two years worth of posts I’d like to recover. (I know. I’m an idiot to not think about this before I let the domain expire)

    Bernie

    Alright, well there are probably limits on how many items are in a feed. Fortunately, since this is WordPress, there should be archives.

    Now, I don’t know how your urls are set up. But if you are using a custom permalink structure, your feed urls might look something like this:

    http://www.yoursite.com/feed

    Then you can access your archives by:

    http://www.yoursite.com/2008/feed
    Or if you have many posts, you’ll need to individually access each month to retrieve all posts:
    http://www.yoursite.com/2008/6/feed

    etc…

    What do you feed urls look like?

    Thread Starter cybernianyc

    (@cybernianyc)

    this is the link when I do the feed thing: http://www.cybernianyc.com/iblognewyork/wp-rss2.php

    It seems to me that there are some files in WP that are pointing to iblognewyork.com, the expired domain so I can’t access it. The domain was a subdirectory of my main one.

    OMG! Light Bulb! I know what you can do. (Too bad you didn’t mention that it was on the same hosting account earlier.)

    You still have the database, so you still have the posts.

    Since you don’t currently have any content in your new blog, this makes importing content very easy.

    Basically, you’ll do an ‘upgrade’. Simply upload new WP 2.5.1 files to your server. (You’ll need to overwrite the root files, as well as the wp-includes and wp-admin directories.) Then change your wordpress config file (wp-config) and use the database settings for your old database. This will automatically use the old posts. However, since your database was from a previous version, you’ll need to do an upgrade. (WP will automatically walk you through it when attempting to view your site.)

    Once done, change all of your settings such as Title, etc… Also, if you do have content from your new blog that you want to keep, simply do an ‘Export’ before upgrading. Also, be sure to preserve the wp-content folder.

    Additionally, if you are changing the domain, you will have to follow these steps: http://codex.wordpress.org/Changing_The_Site_URL

    Let me know if you have any questions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Importing old files into new blog’ is closed to new replies.