FeedBurner HtAccess Redirect for WordPress Feeds
Firstly, we burn our wordpress feeds to FeedBurner. You can burn in www.feedburner.com , we get a feedburner link like “http://feeds2.feedburner.com/WebmasterSucks“. I also burned comments feed. We redirect our WordPress feed to FeedBurner. Its help us to track our feed and add adsense code to our feeds.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/?(feed.*|comments.*) [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(feedburner|feedvalidator) [NC]
RewriteRule ^feed/?.*$ http://feeds2.feedburner.com/WebmasterSucks [L,NC,R=302]
RewriteRule ^comments/?.*$ http://feeds2.feedburner.com/WebmasterSucksComments [L,NC,R=302]
</IfModule>
For more information :
http://perishablepress.com/press/2008/10/13/wordpress-feedburner-htaccess-redirect-default-feeds/
Comments
Comments are disabled for this post