How to redirect RSS feeds to a new location?
October 25, 2006 5:51 PM
Subscribe
I have a Moveable Type weblog. I would like to redirect the feeds. This probably involves using .htaccess and mod_rewrite. My mind has grown weary after two hours of trying to get this to work. Can anyone offer advice?
This weblog has feeds located at:
http://www.sitename.com/index.xml
http://www.sitename.com/atom.xml
http://www.sitename.com/index.rdf
http://www.sitename.com/feed/
http://www.sitename.com/subdir/index.xml
http://www.sitename.com/subdir/atom.xml
http://www.sitename.com/subdir/index.rdf
I would like all of these feeds to be redirected to:
http://www.feedburner.com/sitename
I am not well-versed in regular expressions. I've looked at the Apache docs, and have looked at an .htaccess file that does similar things for WordPress, but I'm stumped.
posted by jdroth to computers & internet (4 comments total)
2 users marked this as a favorite
For every redirect do this in your .htaccess file:
Redirect permanent /foo http://foobar.com/fooYou might need to put the
RewriteEngine ondeclaration above the redirects in your .htaccess depending on the host.posted by pedantic at 5:59 PM on October 25, 2006