How to view wordpress feeds based on category with feedburner

October 18th, 2008

Wordpress Feedburner Sometimes your readers are only interested in particular topic on your blog. For instance this blog is all about SEO and technology but what if someone wants to subscribe only to SEO feeds ?

With Wordpress you can have separate feeds for particular category. If you have habit of marking the categories correctly then you can view the feeds corresponding to that category as -

http://www.whibb.com/category/seo/feed

As it’s always recommended to use external Feed manager with your wordpress feeds you can burn the same feed with much more options on your Feedburner account.

For this log on to your feedburner account and add the particular category feed which you want to burn

Feedburner Category Feeds

Follow the simple steps after that and activate the feed. Name your feed sensible enough and easy to remember. For example SEO feed for this blog is mapped to feedburner as

http://feeds.feedburner.com/whibb/seo

Feedburner will automatically get the full feeds from your previous partial feeds of wordpress and you can have several other customizable options such as Emailing, social bookmarking, comments etc attached with your feeds too.

Last Step: Redirect your Wordpress Feed to Feedburner using .htaccess

Add the following code based on your category to your .htaccess

# temporary redirecting wordpress category feed to feedburner
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner    [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^category/seo/feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/whibb/seo [R=302,NC,L]
</IfModule>

And you are done! Just ping me or comment if you have any problems setting up this.

Share/Save/Bookmark

Related Tech Stuff

Leave Your Comment ↓