WordPress.org

Ready to get started?Download WordPress

Forums

Tracking subscribers of my rss feed-Which is best? (6 posts)

  1. cleasterwood
    Member
    Posted 5 years ago #

    Hi,
    I'm currently using Feedburner to track my subscribers, but I have to have so many different plug-ins to get it to work, which takes up space on my server. Is there a better way to track subscribers to my feed?
    Any recommendations would be great as I'd like to get rid of all those Feedburner plug-ins.
    Thanks in advance,
    Lynn

  2. You can use FeedBurner without any plugins at all, if you use .htaccess instead. I've used this for a while without any issues:

    # redirect all wordpress feeds to feedburner
    <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteCond %{REQUEST_URI}      ^/?(feed.*|rss.*|comments.*)  [NC]
     RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC]
     RewriteRule ^feed/?.*$          http://feedproxy.google.com/blogposts  [L,NC,R=302]
     RewriteRule ^rss/?.*$           http://feedproxy.google.com/blogposts  [L,NC,R=302]
     RewriteRule ^comments/?.*$      http://feedproxy.google.com/comments [L,NC,R=302]
     RewriteRule ^wp-rss2.php        http://feedproxy.google.com/blogposts    [L,NC,R=302]
    </IfModule>

    (I will note that if you use hotlink protection in your .htaccess, you should add in the name of your feed as an approved linker).

  3. cleasterwood
    Member
    Posted 5 years ago #

    I'd like to hotlink protect my .htaccess file, but I don't exactly know how. I CAN edit my .htaccess file, but I'm not necessarily comfortable doing it. Where would that snippet of text go in my .htaccess file?

  4. Basically hotlink protection will look like this:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.net(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://feedburner.google.com/MyFeed [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
    </IfModule>

    I ALWAYS specify my feed, to stop evil fake RSS people from picking my images.

    My htaccess has (in this order)

    • error pages
    • mod_expire
    • moved pages
    • getting rid of www
    • hotlink protection
    • feedburner redirect
    • WordPress
  5. cleasterwood
    Member
    Posted 5 years ago #

    Cool, thank you. I'll give it a try.

  6. FolioVision
    Member
    Posted 5 years ago #

    How important is it to stop people from using any of the other feeds?

    Should we really be forcing people to use Feedburner or should we give them the option to use traditional direct feeds?

Topic Closed

This topic has been closed to new replies.

About this Topic