How to move a feed
Jun 28, 2005 14:31 · 201 words · 1 minute read
So, I just happened to notice that the Google Blog has moved. I hadn’t been paying very close attention, because I think it moved a while ago.
In doing the move of their blog, Google did the right thing by putting an HTTP response of 301 – “permanent redirect”. That’s swell. However, they appear to have done a blanket redirect of the whole blog to the front page of the new blog. That’s a nice, easy solution… the only problem is that their old feed
http://www.google.com/googleblog/atom.xml
redirects to the front page of the new blog location, not the new feed. Anyone with a feed reader pointed there, would start having some trouble.
So, the right thing to do when moving your blog (and I’m pretty sure I did this all properly when I migrated from Movable Type to WordPress) is to do a 301 redirect from your old feed to your new feed. Feed readers will pick that up automatically and you’ll notice no difference.
If you use Apache, you can just toss a line in your .htaccess file that looks something like this:
Redirect permanent /index.xml http://www.blueskyonmars.com/feed/
That line will redirect any requests for index.xml to my new feed location.