WordPress.org

Support

Support » Plugins and Hacks » Tracking subscribers of my rss feed-Which is best?

Tracking subscribers of my rss feed-Which is best?

  • cleasterwood
    Member

    @cleasterwood

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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).

    cleasterwood
    Member

    @cleasterwood

    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?

    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
    cleasterwood
    Member

    @cleasterwood

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

    FolioVision
    Participant

    @foliovision

    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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tracking subscribers of my rss feed-Which is best?’ is closed to new replies.