If you're looking for solutions which enable both basic and advanced FeedBurner redirect management, look no further. This guide will give you all the information about FeedBurner redirect methods that you will ever need.
slide 1 of 4
FeedBurner is one of the most popular RSS feed management solutions available. This solution is used by millions of bloggers, enabling them to follow detailed statistics concerning who (and in what amount) has subscribed to their RSS channel. It is very easy to register and set up a FeedBurner account, while there are several RSS to FeedBurner redirect methods. This article will describe three methods; redirection achieved with WordPress plugins, HTAccess modifications and finally with the PHP function.
slide 2 of 4
Redirection Through WordPress Plugins
One of the most important characteristics of the WordPress platform is its extensibility. Probably all parts of the WordPress system are covered by numerous high-quality plugins, which are free in most cases. Therefore, it is not a surprise that there are several excellent plug-ins related to FeedBurner redirection. A brief description of two very popular plugins follows:
FeedBurner FeedSmith plugin: A bit outdated, this simple plugin was originally created by Steve Smith. While it's now available on the official FeedBurner website, it is not available on the official WordPress plugins website. This plug-in requires nothing but a FeedBurner RSS address to be entered.
FD Feedburner plugin: This is one of the most popular plug-ins of this kind, counting nearly 200,000 downloads as of this writing. As opposed to FeedBurner FeedSmith plugin, it is compatible up to the latest WordPress editions. This plugin redirects the main feed, and optionally the comments feed, to FeedBurner. There is no need to perform any template and .htaccess modifications, and it does not require the setup of new hidden feeds, etc.
slide 3 of 4
Redirection Through HTAccess Modifications
For most users, the above plugins will do, but on the other hand, there are WordPress developers and advanced users that will not be satisfied with the lack of customization abilities of these plugins. Therefore, developers may want to use advanced methods, such as the HTAccess modifications as described within this paragraph. HTAccess is usually situated within the website's root directory, but in case it does not exist, it can be created manually.
For example, consider the case where a developer wants to redirect a certain category to a FeedBurner URL. For example , http://www.example.com/category/sports/feed/ is a WordPress RSS URL. On the other hand, the user has set the FeedBurner URL for this category, which is equal to http://feeds.feedburner.com/sports-feed. In order to manage this redirection (where the main RSS feed and Comments feed are both included as well) through HTAccess, it is required to insert the following lines of code into the HTAccess itself:
As simple as that. Naturally, it is possible to use as many custom lines of code as needed, where a reader should only change the category URL and corresponding FeedBurner URL. Finally, this method is also very handy as it does not require plugins and PHP server processing.
slide 4 of 4
Redirection by Adding PHP Function to the Function.php File
The third FeedBurner redirect method is authored by PHP developer Justin Tadlock. This solution consists of putting the following lines of code into the function.php theme file:
In order to apply this code, a reader should edit only $feed_url value. Furthermore, this solution can be extended, since it redirects only the main feeds. In order to redirect specific categories, the following lines of code should be used:
In these lines, 'category_feed_link', 'other_feed_links' should be edited. Additional filters can be added easily, simply by adding new lines of code and corresponding URLs in the same way as it is showed in this solution.