{"id":278,"date":"2007-03-31T14:36:02","date_gmt":"2007-03-31T18:36:02","guid":{"rendered":"http:\/\/www.sarahdopp.com\/blog\/?p=278"},"modified":"2007-03-31T14:36:02","modified_gmt":"2007-03-31T18:36:02","slug":"blog-migration-how-to-keep-your-old-rss-feed-active","status":"publish","type":"post","link":"https:\/\/sarahdopp.com\/blog\/2007\/blog-migration-how-to-keep-your-old-rss-feed-active\/","title":{"rendered":"Blog Migration: How to Keep Your Old RSS Feed Active"},"content":{"rendered":"<div class=\"juiz-outdated-message jodpm-top\">Heads up, this content is 19 years old. Please keep its age in mind while reading.<\/div><p>Here&#8217;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 <strong>didn&#8217;t work anymore<\/strong>.  The obvious (and painful) solution was to manually inform every system and person who cares about my blog that I&#8217;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.<\/p>\n<p>Thankfully, <a href=\"mailto:spam@hirstory.com\" title=\"email her\">Jordan M.E.<\/a> (one of my favorite programmers), sent me the easier answer. She told me to use an htaccess redirect, so the old feed <em>becomes<\/em> the new feed.  Here&#8217;s the code that I added to my root level (http:\/\/www.sarahdopp.com) .htaccess file (it should all be on one line):<\/p>\n<blockquote><p> <tt>Redirect permanent \/blog\/xmlsrv\/rss2.php http:\/\/www.sarahdopp.com\/blog\/?feed=rss2&amp;<\/tt><\/p><\/blockquote>\n<p>In this example, &#8220;<tt>\/blog\/xmlsrv\/rss2.php<\/tt>&#8221; is the path of my old RSS feed, and &#8220;<tt>\/blog\/?feed=rss2<\/tt><tt>&amp;<\/tt>&#8221; is the path of my new RSS feed.  You need the &#8220;<tt>Redirect permanent<\/tt>&#8221; at the beginning to make it work.  See it in action.  This is the link to my old feed:<\/p>\n<p><a href=\"http:\/\/www.sarahdopp.com\/blog\/xmlsrv\/rss2.php\">http:\/\/www.sarahdopp.com\/blog\/xmlsrv\/rss2.php<\/a><\/p>\n<p>Check the address bar after you click the link. You&#8217;re at my new feed. Voila!<\/p>\n<p><strong>If you&#8217;ve never edited your .htaccess file<\/strong>, it&#8217;s not as scary as it sounds.  It&#8217;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&#8217;s a trick (note: you have to be comfortable with FTP to do this):<\/p>\n<ol>\n<li>Using your FTP client, find the <strong>.htaccess<\/strong> file on your webserver and rename it to <strong>htaccess.txt<\/strong>.<\/li>\n<li>Download the file.<\/li>\n<li>Open it in the code editor of your choice.<\/li>\n<li>Make the changes you want to make (see above) and save it.<\/li>\n<li>Upload it to your website.<\/li>\n<li>Change the filename back to <strong>.htaccess<\/strong>.<\/li>\n<li>Done.<\/li>\n<\/ol>\n<p>So now, everybody who was reading my old blog can now see my new blog, as though nothing changed.\u00c2\u00a0 Well, they&#8217;re probably a little confused because I disappeared for awhile, and their aggregators may now be reloading new copies all my stuff, but hey.\u00c2\u00a0 Close enough.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Heads up, this content is 19 years old. Please keep its age in mind while reading.Here&#8217;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&#8217;t work anymore. The obvious (and painful) solution was to manually inform every system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-webmaster_stuff"],"_links":{"self":[{"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":0,"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"wp:attachment":[{"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sarahdopp.com\/blog\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}