How to Redirect WordPress Feeds to FeedBurner without a Plugin
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.
Comments
11 Responses to “How to Redirect WordPress Feeds to FeedBurner without a Plugin”Share Your Opinions
Tell us what you're thinking...
and if you want a pic to show with your comment, then get gravatar!
Please make sure that you have read our Comment Policy.











Thanks for the tip, should help reduce the amount of load time since you’re not using a plugin
Very, very cool. Thanks for sharing this, I was actually wondering if there was a way to do this yesterday.
How does that go together with WordPress’ permalinks?
I always get an error 500 when I try to combine those two scripts:
Wrap the WordPress Permalink’s code in the Ifmodule mod_rewrite.c tags as well and it should work
I did, the tags got stripped when I posted the comment.
So it should work with two mod_rewrite blocks?
Nope, it doesn’t. I always get that 500.
Good tip – it’s a problem I hadn’t even considered before.
I am using feed redirctor plugin.Will try this now
I am trying this tip for my news blog but it doesn’t work. Always getting 500 error.
Are you using a linux webhost? This is a simple redirect which should work if the server has apache enabled.
You need to place these rewrite rules BEFORE the WordPress permalink rules.
Here’s an example: http://tinypaste.com/f2f34