Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Redirect WordPress Feeds to FeedBurner without a Plugin

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
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]

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.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. raj says:


    I am facing problem to add this

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

    code in to .htaccess file . when i am adding code the images of website going to missing.
    Also if i try to modify code the speed of website going to down .
    please help .


  2. Aamir Rizwan says:

    What will happen to existing subscribers that have subscribed using: ?

  3. Anshul Tewari says:

    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 :)

  4. Matt says:

    I used something similar to this in my .htaccess but after 2 days my feedburner feed stopped updating. To troubleshoot I removed the FB redirects, but my source feed still points to Feedburner, so now I have a recursive loop going. Why do you think it’s still redirecting? DO you think adding the redirect code back to my .htaccess will fix it? It’s almost like my .htaccess isn’t being refreshed.

    Source Feed

    FB –

    Code I used wasn’t in the proper location just under the permalinks rewrites. Also should your proposed code go within the section?

    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
    RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$,NC,L%5D

    Thanks for any help you may provide. This is driving me nuts to say the least.

  5. Christian says:

    Nice tip, too many plugins means a mess so thanks for removing one.

    Again, nice work, I will come again.

    Thank you.


  6. Artem Russakovskii says:

    Error 500 here too – apache gives this error: “RewriteRule: bad flag delimiters”

    Solution: put quotes around the first RewriteRule parameter, like so: “^feed/?([_0-9a-z-] )?/?$”

    I am fairly sure that space after the ] is the problem here that forces the need for quotes.

  7. Rajesh Namase says:

    this is not working for me. Always 500 internal error. I also try kolobigi method but this also not working.

  8. kolobigi says:

    For all those having 500 / internal errors just copy the code below to replace that found in your word press .htaccess (Look for # BEGIN WordPress to # END WordPress and simply replace,yopu don’t have to replace everything in .htaccess)

    # BEGIN WordPress

    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
    RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ FEEDBURNER ID [R=302,NC,L]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    Pls change the /YOUR FEEDBURNER ID to your own.

  9. sanchan says:

    I already have this in the htaccess file.

    Do I overwrite the existing code or copy paste below?


    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    # END WordPress

  10. dbunic says:

    Just one question. If I want my comments feed from my blog redirect to the FeedBurner as well as my main feed, do I have to create a new feed?

    Thank you!

    • Editorial Staff says:

      Yes, your comment feeds are separate, so you would have to create separate feeds on FeedBurner and then redirect your comment feed that way.

  11. FAQPAL says:

    Thanks Modforest, that worked.

  12. Iroko says:

    I got internal server error please, how can I correct this?
    this code you gave is to replace everything in the .htaccess file or where in particular?

  13. Tony Tran says:

    I am trying this tip for my news blog but it doesn’t work. Always getting 500 error.

  14. gouthami.b says:

    I am using feed redirctor plugin.Will try this now

  15. Jolora says:

    Good tip – it’s a problem I hadn’t even considered before.

  16. Konstantin says:

    How does that go together with WordPress’ permalinks?

    I always get an error 500 when I try to combine those two scripts:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

  17. Brett says:

    Very, very cool. Thanks for sharing this, I was actually wondering if there was a way to do this yesterday.

  18. Murlu says:

    Thanks for the tip, should help reduce the amount of load time since you’re not using a plugin :)

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.