PDA

View Full Version : RSS with Direct Linking Blocked


RAitch
11-29-2006, 12:58 PM
So I added a .htaccess file last night to prevent direct linking... but of course the images in RSS readers are not showing.

Is there a way around this (to allow RSS to show images when people are reviewing) or is there nothing I can do?

The only thing I can think of is to add the thumbnail folder to the list of excluded folders. Is that my only option or is there a better way to be specific for RSS links?

Contents of my .htaccess file:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/Files/*
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?richardhoutby.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?richardhoutby.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|wmv)$ - [F,NC]

GeoS
11-29-2006, 06:48 PM
As thumbs are really small then IMHO that is the easiest and the best solution - exclude thumbs folder from this rules.