How to Redirect WordPress Feeds to FeedBurner without a Plugin


Update: We no longer recommend using FeedBurner because it’s a dying product full of bugs. Please read this article to see why you shouldn’t use FeedBurner and find out about the alternatives.

Recently we featured an article that showed a step by step guide to setup FeedBurner in which we shared the plugins you can use to redirect. In this article, we will show you how you can redirect WordPress RSS Feeds to Feedburner without using a plugin (This tip is for intermediate to advanced users).

First open your .htaccess file which is located in your root directory (Hint: same folder where wp-config.php is located). Then paste the following code:

  <IfModule mod_rewrite.c>  RewriteEngine on  RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]  RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]  RewriteRule ^feed/?([_0-9a-z-] )?/?$ [R=302,NC,L]  </IfModule>

By the way, don’t forget to change the feed URL to your own Feed URL otherwise you will be redirecting users to our Feeds.