Home / htaccess / Redirect your feed to feedburner
  • How to Redirect your feed to feedburner

    redirect-feed-to-feedburner

    If you plan to use feedburner for RSS instead of the default wordpress RSS feed you can use the following snippet added to your .htaccess file to redirect your wordpress RSS feed to your feedburner RSS feed.

    # temp redirect wordpress feeds to feedburner ( click code to copy )

    wordpress snippet : .HTACCESS

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

    ( WordPress codex functions, hooks, in this snippet. )

    wp,