Blog Migration: How to Keep Your Old RSS Feed Active
Heads up, this content is 17 years old. Please keep its age in mind while reading.

Here’s a problem I ran into when migrating from b2evolution to WordPress: my old RSS feed, which was running through multiple aggregators across the web, suddenly didn’t work anymore. The obvious (and painful) solution was to manually inform every system and person who cares about my blog that I’m now on a new feed. I was already diving into that that task, and planning to let a few systems drop off the wayside in the process.

Thankfully, Jordan M.E. (one of my favorite programmers), sent me the easier answer. She told me to use an htaccess redirect, so the old feed becomes the new feed. Here’s the code that I added to my root level (http://www.sarahdopp.com) .htaccess file (it should all be on one line):

Redirect permanent /blog/xmlsrv/rss2.php http://www.sarahdopp.com/blog/?feed=rss2&

In this example, “/blog/xmlsrv/rss2.php” is the path of my old RSS feed, and “/blog/?feed=rss2&” is the path of my new RSS feed. You need the “Redirect permanent” at the beginning to make it work. See it in action. This is the link to my old feed:

http://www.sarahdopp.com/blog/xmlsrv/rss2.php

Check the address bar after you click the link. You’re at my new feed. Voila!

If you’ve never edited your .htaccess file, it’s not as scary as it sounds. It’s just a text file with a funny file extension that controls some key things about your website. Some people have trouble opening the file because of its strange file name, so here’s a trick (note: you have to be comfortable with FTP to do this):

  1. Using your FTP client, find the .htaccess file on your webserver and rename it to htaccess.txt.
  2. Download the file.
  3. Open it in the code editor of your choice.
  4. Make the changes you want to make (see above) and save it.
  5. Upload it to your website.
  6. Change the filename back to .htaccess.
  7. Done.

So now, everybody who was reading my old blog can now see my new blog, as though nothing changed.  Well, they’re probably a little confused because I disappeared for awhile, and their aggregators may now be reloading new copies all my stuff, but hey.  Close enough.

If you like this post and would like to receive updates from this blog, please subscribe to the feed. Subscribe via RSS

One Response to “Blog Migration: How to Keep Your Old RSS Feed Active”

  1. sleendeli Says:

    Armani new collections old price!!!

    Good stuff!!!!!!
    Take invites:
    Summer15 – 15%.