Family Encyclopedia >> Electronics

How to redirect WordPress feeds to FeedBurner without a plugin

Update:We no longer recommend using FeedBurner because it is a dying product full of bugs. Read this article to see why you shouldn't use FeedBurner and discover the alternatives.

We recently featured an article showing a step-by-step guide to setting up FeedBurner in which we shared the plugins you can use to redirect. In this article, we'll 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 located in your root directory (Hint:same folder where wp-config.php is located). Then paste the following code:

 RewriteEngine en RewriteCond% HTTP_USER_AGENT! FeedBurner [NC] RewriteCond% HTTP_USER_AGENT! FeedValidator [NC] RewriteRule ^ feed /? ([_ 0-9a-z-])? /? $ Http://feeds.feedburner.com / wpbeginner [R = 302, NC, L] 

By the way, don't forget to change the feed URL to your own feed URL, otherwise you'll be redirecting users to our feeds.