Pages

Monday, December 21

The Magic of Mod_Rewrite

After several large headaches dealing with Mod_Rewrite over the weekend, I finally have about 20 different ways to subscribe to the RSS feeds of this website all redirected over to Feedburner (and what do you know, I had about 400 subscribers that I didn't know anything about! Welcome!).
Here's a couple examples of things I had to do:


RewriteRule /feed$ http://feeds\.feedburner\.com/RandomThoughtsFromJoelsWorld [R=301,L]

RewriteRule /feeds/posts/default?alt=rss http://feeds\.feedburner\.com/RandomThoughtsFromJoelsWorld [R=301,L]

RewriteRule /feeds/posts/default http://feeds\.feedburner\.com/RandomThoughtsFromJoelsWorld [R=301,L]

RewriteRule /finshake/Blog/rss\.xml http://feeds\.feedburner\.com/RandomThoughtsFromJoelsWorld [R=301,L]



Hopefully everyone didn't experience (*many*) problems.  Thanks.

No comments: