jackreichert
Member
Posted 1 year ago #
Hi
I'd like to redirect my main feed to feedburner, but no other feed. All the plugins I have found redirects EVERY feed. I don't want to use other redirection plugins because they seem to be breaking the permalink structure of wordpress.
How would I add a redirect to the htaccess to accomplish this? What type of redirect would I use?
Thanks in advance!
- Jack
Hello Jack,
I use the following in my .htaccess file on my blog. I think this should work for you too.
<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/daveredfern [L,NC,R=302]
</IfModule>
Thanks
Dave.