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-] )?/?$ http://feeds.feedburner.com/wpbeginner [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.
This is awesome! It took me 6 months to figure this out. Thanks a lot for the wonderful post. Now the feeds redirect just perfectly fine :)
- spam
- offensive
- disagree
- off topic
Like