How to re-direct WordPress feeds to Feedburner?

Shalin Tejpal Jain October 29, 2011 0

FeedBurner is one of the first choices when it comes to free RSS Feeds Burning applications. It’s loaded with several features, primarily being:

  • Subscribe to feeds through email or RSS Feed Readers like Google Reader, FeedDemon, NetVibes, etc.
  • Statistics about feed subscribers which helps in analyzing the the readership through feeds.
  • Browser Friendly – Presents the feeds in a neat format across all the web browsers as compared to WordPress Feeds.
  • Monetize the feeds by putting Google Adsense ads.
WordPress by default comes with various feeds. So, when you install WordPress, it automatically creates default URLs through which various feeds for your blogs can be accessed. For instance, http://techlisher.com/feed. Considering the features of Feedburner vis-a-vis WordPress Feeds, it makes all sense to re-direct WordPress Feed URL to the blog’s Feedburner URL – for instance, re-direct http://techlisher.com/feed to http://feeds.feedburner.com/techlisherblog. There are some WordPress plugins to enable this re-direction viz., FD FeedBurner Plugin, FeedBurner FeedSmith, etc. But why use a plugin when you can do the same set of things without it? Yes, in this article we will talk about how to re-direct WordPress Feeds to Feedburner Feeds without a plugin but with .htaccess file.

 

How to re-direct WordPress feeds to Feedburner through .htaccess file?

1. Open .htaccess file which is located in the same folder where the wp-config.php is located (Note: If you’re accessing your blog directory through FTP, remember to enable ‘Show hidden files’).
2. Paste the following code in your .htaccess file and save it.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^feed/?([_0-9a-z-] )?/?$ http://feeds.feedburner.com/techlisherblog [R=302,NC,L]
</IfModule>
Remember:
  1. This code should be pasted above the # BEGIN WordPress line in .htaccess file.
  2. Most importantly, remember to replace the FeedBurner URL given in the code above to your own FeedBurner URL otherwise you will be re-directing users to our Feeds.

Like it? Why not share it then ? »

               
 

Subscribe via Email for Free & Stay Updated ? »

Enter your email address:


Don't worry! We won't spam you! Even we hate it like anything.


Leave A Response »