Update – Ivan stopped by to inform me that there is a newer Feedburner plugin that now includes comments and does not need .htaccess. It can be downloaded at orderedlist.com. Thanks Ivan.
Now the original post –
This is a quick “How to” on how to get your comments feed to also be served by FeedBurner when using the WordPress FeedBurner Plug-in from orderedlist.com.
Currently the plugin only will allow one feed to be redirected.
Here it goes –
- Setup your post feed and your comments feed at FeedBurner.
- Download the WordPress FeedBurner Plug-in – uploaded it, activate it, enter your post feed info in the options section, activate the redirect.
- In you WordPress back end go to Manage > Files
- Click on “.htaccess (for rewrite rules)” on the right side (Make sure that is does not say “If this file were writable you could edit it.” at the bottom – if it does you need to give write permissions to it)
- You htaccess file should look similar to this –
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect FeedBurner to your own Feed
RewriteBase /
RewriteRule ^feedburner_739817/?$ /feed/ [R,L]
RewriteCond %{HTTP_USER_AGENT} ^FeedBurner.*$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# These Rules redirect all feed Traffic to FeedBurner
RewriteBase /
RewriteCond %{QUERY_STRING} ^feed=(feed|rdf|rss|rss2|atom)$
RewriteRule ^(.*)$ http://feeds.feedburner.com/idano [R,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/?(feed|rdf|rss|rss2|atom)?/?$ http://feeds.feedburner.com/idano [R,L]
RewriteRule ^wp-(feed|rdf|rss|rss2|atom).php http://feeds.feedburner.com/idano [R,L]
[QSA,L]
# These are the standard WordPress Rules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule> - Above the “# These are the standard WordPress Rules” and below the
RewriteRule ^wp-(feed|rdf|rss|rss2|atom).php http://feeds.feedburner.com/idano [R,L]
line add –RewriteRule ^comments/feed/?$ http://feeds.feedburner.com/yourCommentsFeed [QSA,L]
- Save it
- Click on you post and comment feed links and they should redirect to the appropriate FeedBurner feeds for your site.
For me this was the simplest and quickest way to get this going without knowing too much about Apache and .htaccess.
Please be sure to read our disclaimer.
Comments
10 responses to “WordPress FeedBurner Plugin with Comments”
[…] It was a little bit of research and work to get both the post and comments feeds to work. You can read about how to do it for WordPress in my post here. […]
When I installed the Feedburner plug-in, it updated my .htaccess file for me, so it was even easier! Perhaps a file permission thing stopped it happening for you.
Dave
Dave,
The plug-in does write to the .htaccess for you – but only for the one feed that you enter in the back end.
This post is so that you can also get your comments feed to work (notice that I have 2 separate feeds – 1 for post, 1 for comments)
I will update my post so that is more clear.
Glad it worked for you though!
[…] The first one titled “WordPress FeedBurner Plug-in with Comments” where I explain how to installed the plug-in from orderedlist.com and then get the comments feed to work also. […]
[…] Also for those in the know or curious enough to notice it I just added a “subscribe to comments” feature to the blog as well. I’m not sure if it’s working yet so it looks like you all have to subscribe to the comments and let me know how it’s working. I also added the comment feed to Feedburner so I can track those stats as well. Yes I’m crazy I know – I found a helpful little article here that explains what you need to do in order to have Feedburner track them — once again, I’m not sure if this is working so start subscribing so I can have some test cases. […]
This is great, Dan. Been looking all over for it to figure out how to redirect a category feed to Feedburner.
Stellar work. Thanks!
Best – Michael
Michael,
I am glad that I could help.
I checked out your site and really like it. That is actually what I am striving for with my Round Rock Web Design web site.
I will definitely be getting some pointers from you.
Please note: THIS TEXT IS A BIT OUTDATED (!) since current version of FeedBurner plugin WORKS WITH COMMENT FEEDS just fine, and it doesn’t use mod_rewrite and .htaccess for redirecting anymore.
Hope this will save some time to all of you who run into this text, without checking the plugin documentation first..
Ivan,
Thanks for the update. I have updated the post to reflect the newer version of the plugin.
I wish that there was some sort of update notification that would let you know when a plugin has changed.
In case any of you missed it the newer plugin with comments support can be downloaded off of orderedlist.com.
Anyway, thanks again.
There is a new plugin that Allows users to redirect each category feed to his own FeedBurner feed. Unlike other plugins that redirect all the feeds to the main feed, this plugin allows you to have a feedburner feed for each category or subcategory.
All the best,
Ezio.