Do you want to edit .htaccess file of your WordPress blog? Here is the solution to edit your .htaccess file. If you want to redirect your WordPress feed to Feedburner, and do not want to use any WordPress plugins and themes function. You can use your .htaccess file to redirect your WordPress feed to FeedBurner. Just you have to access your .htaccess file of your WordPress blog via your hosting service provider and edit it. Below is the very simple tutorial to accessing your .htaccess file for your WordPress blog. Therefore, here is how to redirect WordPress feed to FeedBurner by .htaccess file. If you wish, you can use theme function or a Plugin to redirect WordPress feed to FeedBurner feed.
First, we will show you the code that you will be paste into your .htaccess file.
.htaccess File Code To Redirect WordPress Feed To FeedBurner
Below is the code for redirect WordPress posts feed to FeedBurner.
<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/wordpressians [R=302,NC,L]
</IfModule>
Do not forget to change the FeedBurner feed address on 5th line with your FeedBurner address. Here, my FeedBurner address is http://feeds.feedburner.com/wordpressians. Your feeds will redirect to everywhere except FeedValidator and FeedBurner, as shown in third and fourth line. If you don’t want to redirect your feeds to FeedBurner on any service, then you can additionally add the user-agent (as, FeedBurner) containing RewiteCond.
If you also want to redirect your WordPress comment feeds to FeedBurner, add the below code in your .htaccess file.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/wordpressianscomments [R=302,NC,L]
</IfModule>
If you wish to use the both redirects (i.e., posts feed and comments feed), then we recommend to use the below short code instead of writing the two codes above. Therefore, the code for redirects both posts and comments feed is below,
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/?(feed.*|comments.*) [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC]
RewriteRule ^feed/?.*$ http://feeds.feedburner.com/wordpressians [L,NC,R=302]
RewriteRule ^comments/?.*$ http://feeds.feedburner.com/wordpressianscomments [L,NC,R=302]
</IfModule>
So, choose and copy any of the codes as your need, and paste this code in your .htaccess file of your WordPress blog. Now, we will talk about to edit .htaccess file in the following way.
Edit .htaccess File Through FileZilla FTP Client To Redirect WordPress Feed To FeedBurner
Mostly, WordPress lovers fall in love with SEO by Yoast plugin or All in One SEO pack plugin, in both you will have an option to edit your .htaccess file through the edit files option. You can do it through your SEO plugin. I am discussing here to edit your .htaccess file with a common method so no matter which plugin do you use. I will use FileZilla FTP client to edit .htaccess file. If you have self hosted WordPress blog, I recommend you to have FileZilla installed on your computer to access your FTP accounts, which has so many advantages for your WordPress. Therefore, here is how to edit .htaccess file to redirect WordPress feed to FeedBurner feed.
For accessing your WordPress files from FileZilla, you must have:
Once you have downloaded FileZilla to your computer and have finished to add your FTP account with FileZilla. Go to your root directory of your WordPress blog and find out your .htaccess file.
[Make sure to backup your original .htaccess file to your computer and if any problem occurred in this process you can easily get back your old .htaccess file into your WrodPress and further go with other options for redirect your feed to FeebBurner.]
Now, right click on .htaccess file and click on View/Edit, and paste the copied code just above the existing code in .htaccess file as shown in below image.
Save it.
That’s it! type your existing WordPress feed to your browser and hit Enter. You will see, it will redirect to your FeedBurner Feed address.
[VIDEO]: How To Edit .htaccess File with FileZilla to Redirect WordPress feed to FeedBurner
Below is the simple video to edit your WordPresss .htaccess file with FileZilla FTP client to redirect your WordPress feed to FeedBurner, hope it may help you to fully integrate your FeedBurner feed with Your WordPress blog.

Speak Your Mind