View Single Post
  #8 (permalink)  
Old 03-14-2008, 05:16 PM
godrox godrox is offline
Casual Pligger
 
Join Date: Oct 2007
Location: Minnesota
Posts: 35
Downloads: 11
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Replacing category RSS feeds with Feedburner

Here's what I did to replace the category feeds with Feedburner feeds. It works okay, except that I still have "?category=1" (or whatever the appropriate category number is) after each Feedburner RSS URL, but oh well. It doesn't seem to affect it much and I don't know enough to know how to get rid of it.

First I burned all my category feeds in Feedburner. Then I opened .htaccess and at the end I added this:

Code:
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule category/1$ http://feeds.feedburner.com/PlugRug-YouthMinistry [R,L]
RewriteRule category/2$ http://feeds.feedburner.com/PlugRug-ChildrensMinistry [R,L]
RewriteRule category/3$ http://feeds.feedburner.com/PlugRug-WorshipArts [R,L]
etc....

Basically, rewriting anything that ends with "category/1" to the Feedburner feed instead. Since pligg's category feed is the only thing that ends with "category/1" "category/2" etc, there's no conflict that I know of.

My site is still a work in progress, but you can see how it works here: PlugRug.com / Published Stories
Reply With Quote