How to Redirect WordPress Feed to Feedburner using htaccess

Posted by Lasantha Bandara on September 11th, 2015 File Under : feed burner, feeds, wordpress0 Comment

This tutorial explains how to redirect your WordPress site's default feed address to Feedbuner without using any plugin.

My default WordPress feed URL is:

I am going to redirect it to my Feedburner URL:

First open your .htaccess file which is located in your root directory. (Before backup your .htaccess file before making any change into it.)

Find this line:

# BEGIN WordPress

Now add below code just before above line:

<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]

It will look like this:

Redirect WordPress Feed to Feedburner Using htaccess

Note: Remeber to replace "" with your Feedburner address.

Save your .htaccess file. Now your WordPress feed will automatically redirect to your Feedburner address.

File Under : feed burner, feeds, wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.