![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
|
Using .htaccess for Hotlink Protection. How to allow Google?
I've enable hotlink protection on all my sites, now how do I allow google to hotlink images from my site. For example when doing an image search, I want them to cache my images.
Will this code work??? Code:
RewriteCond %{HTTP_REFERER} !^http://.*google.([^/]+)/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://.*google.([^/]+)$ [NC] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
|
come on, someone has to know, dont tell me today is ALL SURFERS day!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Registered User
Join Date: Apr 2003
Posts: 27
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
I am a meat popsicle.
Join Date: Jul 2002
Posts: 25,100
|
How do I change my image in Google to forward surfers a given site (in the frame) when they click on the thumb?
__________________
HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY! THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
joechip is partly correct...
However, make sure you allow null referrers if you want the spiders to find your images, otherwise they'll redirect per your hotlink instructions. This says, allow null referrers and requests from my domain only to display images. Send all other requests to hotlink.html: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com.*$ [NC] RewriteRule .*[Jj][Pp][Gg]$|.*[Jj][Pp][Ee][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/hotlink.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
jellyfish
![]() ![]() Join Date: Dec 2003
Posts: 71,528
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
|
bump for night shift
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |