WordPress.org

Ready to get started?Download WordPress

Forums

Can't redirect RSS feed to Feedburner (5 posts)

  1. George_T
    Member
    Posted 2 years ago #

    Hello,

    I'm trying to redirect my RSS feed to Feedburner. When I test it though by adding feed to the domain name: http://www.valuebygeorge.com/feed it does not appear to go to Feedburner.

    Here are my Feedburner settings:
    Feed Title: Value by George
    Original Feed: http://www.valuebygeorge.com/feed
    Feed Address: http://feeds.feedburner.com/ValueByGeorge

    I uninstalled the original WordPress RSS widget (jetpack I think), installed another one with no luck, uninstalled it and now have a "Primary Feedburner" plugin installed.

    Read some posts that suggested the best way was to modify the .htaccess file with the following after "# END WordPress" so I pasted it in with no results:

    # temp redirect all wordpress feeds to FeedBurner
    <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/valuebygeorge         [L,NC,R=302]
     RewriteRule ^comments/?.*$      http://feeds.feedburner.com/valuebygeorgecomments [L,NC,R=302]
    </IfModule>

    It seems WordPress just keeps using the original RSS feed setup and ingnores Feedburner. BTW, using Twenty Ten 1.2 theme.

    Any assistance would be greatly appreciated.

    Thank you,
    George

  2. Put that htaccess chunk ABOVE the #start wordpress line instead :)

  3. George_T
    Member
    Posted 2 years ago #

    Ipstenu,

    Thank you for the suggestion. I tried your fix but it didn’t seem to change anything. The file htaccess now looks like this. Did I do it right?

    DirectoryIndex index.php
    # temp redirect all wordpress feeds to FeedBurner
    <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/valuebygeorge [L,NC,R=302]
    RewriteRule ^comments/?.*$ http://feeds.feedburner.com/valuebygeorgecomments [L,NC,R=302]
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Do I need to uninstall the Primary Feedburner plugin while trying this fix?

    Any other thoughts?

    Thanks,
    George

  4. obus3000
    Member
    Posted 2 years ago #

    you might wanna try changing this line:

    ^feed/?.*$

    for

    ^http://yourdomain.com/feed ....

  5. DarkWolf
    Member
    Posted 1 year ago #

    I've this and works fine for me:
    http://vegamami.altervista.org/feed/
    http://vegamami.altervista.org/comments/feed/

    RewriteEngine On
    RewriteBase /
    
    # Redirecting Feeds to Feedburner START
    RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC]
    RewriteRule ^feed/$ http://feeds.feedburner.com/VegAmami [L,R=302]
    RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC]
    RewriteRule ^comments/feed/$ http://feeds.feedburner.com/VegAmamiCommenti [L,R=302]

    PS: i do not use any feedburner plugin (just this htaccess fix) :|

Topic Closed

This topic has been closed to new replies.

About this Topic