WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Redirect WordPress Feeds to FeedBurner without a Plugin

How to Redirect WordPress Feeds to FeedBurner without a Plugin

Last updated on June 17th, 2014 by Editorial Staff
30 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
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-] )?/?$ 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.

30 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

32 Comments

Leave a Reply
  1. jack glendening says:
    Aug 5, 2017 at 11:17 pm

    Extra space in RewriteRule (just before closing parenthesis) needs to be removed, else apache gives Internal Server Error 500

    Reply
    • Wonder says:
      Oct 28, 2020 at 7:16 pm

      Hi Jack, You Information on the code helped me, thanks!

      Reply
  2. raj says:
    Dec 23, 2015 at 1:12 am

    Hi

    I am facing problem to add this

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sparringmind.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?feeds2.feedburner.com/sparringmind [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 .

    Thanks

    Reply
  3. Aamir Rizwan says:
    Jul 3, 2013 at 4:03 am

    What will happen to existing subscribers that have subscribed using: mydomain.com/feed ?

    Reply
  4. Anshul Tewari says:
    Feb 10, 2011 at 4:02 am

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

    Reply
  5. Matt says:
    Feb 9, 2011 at 3:52 pm

    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 http://www.entertainmentbuddha.com/feed/

    FB – http://feeds.feedburner.com/entertainmentbuddha

    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-]+)?/?$ http://feeds.feedburner.com/entertainmentbuddha%5BR=302,NC,L%5D

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

    Reply
    • Matt says:
      Feb 9, 2011 at 8:44 pm

      Found the issue thank God! For some reason the wp-insert plugin had my feed looping.

      Reply
  6. Christian says:
    Jan 23, 2011 at 8:22 pm

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

    Again, nice work, I will come again.

    Thank you.

    Christian

    Reply
  7. Artem Russakovskii says:
    Jan 21, 2011 at 5:08 am

    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.

    Reply
    • Editorial Staff says:
      Jan 21, 2011 at 12:00 pm

      Are you pasting the code before the WP stuff in the .htaccess?

      Reply
  8. Rajesh Namase says:
    Dec 31, 2010 at 11:42 pm

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

    Reply
  9. kolobigi says:
    Nov 25, 2010 at 1:56 am

    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-]+)?/?$ http://feeds.feedburner.com/YOUR 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.

    Reply
  10. sanchan says:
    Nov 22, 2010 at 12:13 pm

    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

    Reply
    • Editorial Staff says:
      Nov 23, 2010 at 1:07 am

      no you just copy and paste below.

      Reply
  11. dbunic says:
    Nov 16, 2010 at 5:23 pm

    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!

    Reply
    • Editorial Staff says:
      Nov 17, 2010 at 8:28 am

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

      Reply
  12. FAQPAL says:
    Oct 15, 2010 at 10:34 am

    Thanks Modforest, that worked.

    Reply
  13. Iroko says:
    Sep 30, 2010 at 10:15 pm

    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?

    Reply
  14. Tony Tran says:
    Aug 23, 2010 at 7:39 pm

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

    Reply
    • Editorial Staff says:
      Aug 24, 2010 at 3:46 am

      Are you using a linux webhost? This is a simple redirect which should work if the server has apache enabled.

      Reply
    • Modforest says:
      Sep 7, 2010 at 6:52 am

      You need to place these rewrite rules BEFORE the WordPress permalink rules.

      Here’s an example: http://tinypaste.com/f2f34

      Reply
      • Iroko says:
        Sep 30, 2010 at 10:25 pm

        Thanks for the post you made on your site, the code works, thanks

        Reply
      • Shah Rukh says:
        Mar 7, 2011 at 8:44 am

        Thanks alot buddy ur snippet worked!!!!

        Reply
      • kamran says:
        Jul 1, 2017 at 9:29 am

        Thank you very much Modforest
        Your link works like a charm. And also thanks to WPBeginners your articles have helped me a lot in my blogging journey.

        Reply
  15. gouthami.b says:
    Jul 8, 2010 at 2:34 am

    I am using feed redirctor plugin.Will try this now

    Reply
  16. Jolora says:
    May 9, 2010 at 8:09 am

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

    Reply
  17. Konstantin says:
    May 9, 2010 at 5:50 am

    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]

    Reply
    • Editorial Staff says:
      May 9, 2010 at 5:45 pm

      Wrap the WordPress Permalink’s code in the Ifmodule mod_rewrite.c tags as well and it should work :)

      Reply
      • Konstantin says:
        May 10, 2010 at 1:08 am

        I did, the tags got stripped when I posted the comment.
        So it should work with two mod_rewrite blocks?

        Reply
      • Konstantin says:
        May 10, 2010 at 3:04 am

        Nope, it doesn’t. I always get that 500.

        Reply
  18. Brett says:
    May 8, 2010 at 9:05 pm

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

    Reply
  19. Murlu says:
    May 8, 2010 at 5:25 pm

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

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
PushEngage
PushEngage
Increase your website traffic & revenue with push notifications. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
Envira Gallery
Envira Gallery Coupon
Get 10% off Envira Gallery, the best responsive WordPress gallery plugin available in the market.
ThirstyAffiliates
ThirstyAffiliates Coupon
Get 15% OFF on ThirstyAffiliates WordPress affiliate link management plugin.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.