WordPress

Redirect WordPress Feeds To Feedburner With htaccess

Feedburner In this snippet we are going to show you how you can remove one of the most popular plugins you would use on your WordPress blog.

Today we are going to remove the WordPress plugin FD Feedburner Plugin for WordPress.

This plugin will redirect your default WordPress feed URLs to your Feedburner URL. It does this seamlessly without the need to modify templates, setup new hidden feeds, modify .htaccess files, or asking users to migrate to a new feed.

You can easily do this with htaccess, all you have to do is copy the below code into your htaccess file and it will redirect all URLs to www.example.com/feed to your feedburner URL.

<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} !FeedBurner    [NC]
 RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
 RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds2.feedburner.com/Paulundcouk [R=302,NC,L]
</IfModule>

Because of adding this snippet you can now remove the WordPress plugin to do the redirection, removing plugins should speed up your blog.

Back to top ^

Join Paulund

  • Get access to 100s of premium tutorials and downloadable content
  • Members content consists of Premium WordPress plugins, CSS packages, jQuery packages, tutorial demo files and templates for 100s of web development tutorials
  • In-depth development tutorials
  • Priority tutorial requests
  • Priority email development support
  • No ads

Here at Paulund you'll find Web Development tutorials and snippets focusing mainly on PHP, WordPress and CSS. Members will get access to premium tutorials that go into more detail about development with these languages. You will also get access to downloadable premium content based on the tutorial.

Join Paulund

Leave a Reply

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