If you have a WordPress blog you should know that it comes with its own rss feed, right? You also know that Feedburner is a excellent service which lets you keep track of all of your feeds, giving you at the same time accurate statistics about your readers and what tools they use to burn your feeds. If you want to gain control over your readers, here is a nice piece of code to use. This code has to be put in your .htaccess located in your server, in the public_html folder. But what does it do? Let’s have a look at it:
# Redirect Feeds to Feedburner
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.+)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC]
RewriteRule .* http://feeds2.feedburner.com/webtlk? [R=307,L]
RewriteRule ^comments/?.*$ http://feeds2.feedburner.com/webtlk/comments [L,R=302]
Basically, it redirects all of your WordPress rss feed to your Feedburner feeds. When a person clicks on the feed icon located in your Firefox address bar (or wherever you place it), he will be automatically redirected to Feedburner. In this way you will have a better idea of how many people read your blog.
Tags: trick, Web Talk, Wordpress
Related ArticlesLatest Articles
- How to Automatically Login (Access) to Windows 8
- How to See and Read Unread, Archived and Sent Messages on Facebook
- Switch to the New Facebook Profile Layout (Timeline)
- How to Discover and Recover All Stored Passwords in your Windows Computer
3 Comments to “How to redirect WordPress feeds to Feedburner feeds”
Leave a Comment
Users Important Words
redirect wordpress feed to feedburner -Web Talk is best viewed in Firefox.
February 14th, 2010
This didn’t work for me and almost messed up my entire site! More detailed instructions are needed. LUCKILY I made a backup and put things back. Don’t do this without copying your original code and then being able to paste it back!
.-= Merik´s last blog ..A Domain Dossier Lookup Tool for Competitive Intelligence =-.
February 14th, 2010
Hi,
I have deleted the old code (the one you tried) and have copied and pasted the code I have in my htaccess code.
This new code should work pretty well since it works for my blog!
Thanks. Try it and let me know. It should be pretty safe!
December 22nd, 2010
thanks buddy…