WordPress FeedBurner Plugin with Comments

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 –

  1. Setup your post feed and your comments feed at FeedBurner.
  2. Download the WordPress FeedBurner Plug-in – uploaded it, activate it, enter your post feed info in the options section, activate the redirect.
  3. In you WordPress back end go to Manage > Files
  4. 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)
  5. 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>
  6. Above the “# These are the standard WordPress Rules” and below theRewriteRule ^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]
  7. Save it
  8. 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.

Technorati : , , , ,