WordPress RSS Feed Rewriting

Posted by Michael Palmer on Monday, September 17, 2007

I noticed I was getting hits for my old Movable Type feeds, yet WordPress doesn’t implement the same links by default.

Some mod_rewrite magic did the trick. I wasn’t able to find a clear simple answer anywhere so came up with this pattern. Seems to work great.

RewriteRule ^(rss|rss2|atom).xml /wordpress/?feed=$1 [QSA]


comments powered by Disqus