WordPress.org

Ready to get started?Download WordPress

Forums

Redirecting to Feedburner (2 posts)

  1. Jack Reichert
    Member
    Posted 3 years 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

  2. Dave Redfern
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic