Redirecting WordPress Feeds to FeedBurner Feeds

  • Unknown's avatar

    [b]The problem.[/b] Beginner bloggers usually start to use FeedBurner only after they have seen it used on many other blogs and realize how useful and cool this tool is. They sign up and start to use it, but their early readers are already subscribed to their default WordPress feed.

    [b]Another problem:[/b] do you often change your theme? If so, you must be bored having to edit each call to bloginfo(’rss2_url’) and replace it with your FeedBurner feed’s URL.

    [b]The solution. [/b]The solution to both problems described above is simple: use server redirections.

    Create a backup of your .htaccess file, located in the root of your Web server.
    Edit the .htaccess file and add the following code. Don’t forget to modify the feed’s URL with your own feed’s URL.

    [code[# temp redirect wordpress content feeds to feedburner
    <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/wprecipes [R=302,NC,L]
    </IfModule>[/code]

    [b]Code explanation[/b]
    Each time someone clicks on a link to http://www.yourblog.com/feed, he or she will be redirected to http://feeds.feedburner.com/yourblog. This way, you will have never lost an RSS subscriber, and even if you change your theme twice a day, you’ll never have to manually edit your RSS feed links again.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    @vsego, you are posting stuff here that will not work here. We have no htaccess files here, and virtually everything you have posted here is aimed not at wordpress.COM blogs, but self-hosted blogs using the wordpress.ORG software.

    You really need to read this to get an understanding of the difference, http://support.wordpress.com/com-vs-org/ and then quite posting stuff that does not apply here. It just confuses bloggers here that then think they can do something they cannot.

  • Unknown's avatar

    But support can do it, and help with this
    You don’t think so ?

  • Unknown's avatar

    No, they cannot and will not.

  • Unknown's avatar
  • Unknown's avatar

    @vsego, this is a multi-user platform which means we all share the same underlying files. They cannot set up separate .htacess files for each blogger. It isn’t possible.

  • The topic ‘Redirecting WordPress Feeds to FeedBurner Feeds’ is closed to new replies.