Thread
:
Post your .htaccess file thread
View Single Post
10-19-2009, 11:30 PM
CYF
Coupon Guru
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
Quote:
Originally Posted by
CYF
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^
http://images.google.com
[NC]
RewriteCond %{HTTP_REFERER} !^
http://(www\.)?teenselfshooter\.com
[NC]
RewriteRule \.(gif|jpg)$
http://www.teenselfshooter.com/visit.jpg
[L]
To explain my post, this basically stops hotlinking on a blog, anyone trying to hotlink an image will get visit.jpg instead of what they were trying to link to
__________________
Webmaster Coupons
Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons
|
Certified Hosting Coupons
|
Hosting Coupons
|
Domain Name Coupons
CYF
View Public Profile
Visit CYF's homepage!
Find More Posts by CYF