How to Redirect Drupal RSS Feed to Feedburner with Ease

02 Nov · by Tim Kamanin · 1 min read

In spite of running this blog for almost 2 years, I never added its feed to Feedburner, however I should have done this from the beginning. But bad memory did its evil job ;)

When you add your feed to Feedburner in return you get a new url for you feed like this And then you need to update rss feed url's on your Drupal site to this new one. Moreover, you can encounter with a problem: "What to do with previous subscribers, how to force them using Feedburner's feed?". You may want to do this, because Feedburner provides different cool addons to your feed such as click-through statistics.

Ok, doing this is pretty simple, just go to your Drupal root and find .htaccess file. Open it and somewhere at the top add this code:

## START: FeedBurner redirects
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^rss.xml$ [R=temp,L]
## END: FeedBurner redirects

Note changing 'timonweb' to your own Feedburner ID. From now on, everyone who uses your main Drupal RSS feed which looks like: will be redirected to Feedburner processed RSS feed. That's all. No more code changes, no more jumping through the hoop. Enjoy your Drupal.

UPD: Please read comments section. People there gave good solutions for managing multiple feeds. Thank you all!


Required for comment verification

John S

Excellent. Thanks!

Reply · 7 years, 1 month ago

FeedBurner module is not available for D7 yet, but I didn't want to change .htaccess if I could avoid it. I was already using the redirect module, so I set up a 301 redirect from [mysite]/blog/rss.xml to my FeedBurner URL, and it worked like a charm. Something to consider for D7 sites.

Reply · 7 years, 1 month ago
social workers

I’ve recently started a blog, the information you provide on this site has helped me tremendously. Thank you for all of your time & work.

Reply · 7 years, 1 month ago

Thanks for the tip! I've gotta make the switch over to feedburner and this will help. pete

Reply · 7 years, 1 month ago
Jeff Geerling

If you have multiple feeds, it's much easier to administer their burning options through Drupal's nice Feedburner module. For one or two feeds, this is a nice/lightweight alternative.

Reply · 7 years, 1 month ago

You may want to consider the Feedburner module for Drupal, which lets you configure the redirect of any feed Drupal outputs to Feedburner, with the added benefit of not requiring edits to your .htaccess file.

Reply · 7 years, 1 month ago
Dave Reid

Of course anytime you update your Drupal core install you'll have to remember to re-add this section to your .htaccess file. Or you could just manage in in the UI via the Feedburner module. :)

Reply · 7 years, 1 month ago

I'd recommend using the (free) MyBrand service to use your own domain instead of By doing that you remain in full control over your feed URL.;=79586

Reply · 7 years, 1 month ago