Forums

Hotlinking Protection Messes Up Site's RSS Feed (6 posts)

  1. brevityness
    Member
    Posted 2 years ago #

    After editing my .htaccess file to protect against hotlinking:

    #BEGIN Hotlink Protection
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://(.+\.)?loneplacebo\.com/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !google\. [NC]
    RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
    RewriteCond %{HTTP_REFERER} !msn\. [NC]
    RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
    RewriteRule .*\.(jpe?g|gif|bmp|png|jpg)$ /images/nohotlink.jpe [L]
    #END Hotlink Protection

    Things worked according to plan. However, when I took a look at my blog's RSS feed: http://feeds.feedburner.com/LonePlacebo Some of the images were being replaced by the hotlink image.

    Is there any way to allow the RSS feed to show the normal images?

  2. brevityness
    Member
    Posted 2 years ago #

    Anybody got any idea?

  3. alism
    Member
    Posted 2 years ago #

  4. brevityness
    Member
    Posted 2 years ago #

    Thanks alism. That seems to be the solution. But what about Google Image Search results? The article only talks about allowing access to Feedburner. I'm assuming the hotlink protection problem extends to that as well.

  5. alism
    Member
    Posted 2 years ago #

    It shouldn't affect Google Image search, as far as I know.

  6. brevityness
    Member
    Posted 2 years ago #

    Thanks for the input alism. I checked my feed, and the hotlink image didnt show up. So things appear to be normal for now.

Topic Closed

This topic has been closed to new replies.

About this Topic