![]() |
![]() |
![]() |
||||
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
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
prevent google/bing/yahoo hotlinking/direct link to images
what are you using to prevent the TGPs google, yahoo, and bing from hotlinking and directing surfers straight to single images? Is there a plugin for wordpress to do this? And how would I do this in htaccess for non-wp sites?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
SO FUCKING SCAMMED
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,407
|
If you're using Yoast Wordpress SEO plugin there's an option in permalink settings "Redirect attachment URL's to parent post URL.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Mr 1%
Industry Role:
Join Date: May 2005
Location: Nomad
Posts: 1,397
|
htaccess method
add RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)domain.com/.*$ [NC] RewriteRule \.(gif|jpg|jpeg|bmp|zip|rar|mp3|flv|swf|xml|php|pn g|pdf|css)$ - [F] where domain.com is replaced with your domain can also be used for wp and non wp sites alike.
__________________
$$$$ Video Secrets $$$$ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
![]() ** actually just tried this and it's not preventing bing from displaying my image, nor redirecting when the image is clicked on ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Sep 2013
Location: Florida
Posts: 252
|
Quote:
__________________
-= gracesfall =- FreeLesbianPornBlog.com Follow me on Twitter: https://twitter.com/gracesfall Like me on Facebook: Free Lesbian Porn Blog Hit me up on ICQ: 663050376 Domains for Sale: DaddyWhoreBucks.com | YoungAndFuckable.com | KnobGobblers.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://anyothersite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://anyothersite.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.anyothersite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.anyothersite.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.yoursite.com/index.html [R,NC]
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Mr 1%
Industry Role:
Join Date: May 2005
Location: Nomad
Posts: 1,397
|
Quote:
also here is a handy htaccess generator for stopping hotlinking http://www.htaccesstools.com/hotlink-protection/
__________________
$$$$ Video Secrets $$$$ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Mr 1%
Industry Role:
Join Date: May 2005
Location: Nomad
Posts: 1,397
|
Quote:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)domain.com/.*$ [NC] RewriteRule \.(gif|jpg|jpeg|bmp|flv|swf|png|pdf|css)$ - [F] place it after the standard wp code in the htaccess file
__________________
$$$$ Video Secrets $$$$ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: May 2010
Posts: 5,735
|
I see that a lot of images on Google Image Search get like transparent blacked out and force you to visit the website to view the images...how do you do this??
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Registered User
Industry Role:
Join Date: Sep 2012
Location: Toronto
Posts: 66
|
User-agent: *
Disallow: /*.jpg$ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Slightly modified, but should be the exact same thing in terms of what it does I *think*
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Quote:
What I posted works for both Bing and Google no problem.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
I'll try again with your exact one in case I've fucked something up which is most likely the case if you say yours works in both ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
magnetron, nope, that doesn't prevent hotlinking in google, nor does it redirect when clicking 'view image', just sends straight to the full size image url
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Quote:
And if it still doesn't work for you, I'm at a loss to explain why.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
What am I saying? Clear out your History.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
http://www.google.com/imgres?um=1&lr...&biw=-1&bih=-1 'view image' links to the direct image url (only clicking on the pic takes you to the original page) - I want to fuck off the ability for a surfer to get taken straight to the image only. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Clear your Temporary Internet Files Folder and check again.
I meant to say this in the first place. I think I'm having a stroke.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
Does this affect google and bing as they crawl and index the images?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So Fucking Banned
Industry Role:
Join Date: Jul 2010
Location: ☣
Posts: 9,327
|
lol
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,384
|
http://wp-picshield.com/
http://wordpress.org/extend/plugins/imaguard/ http://wordpress.org/extend/plugins/google-break-dance/
__________________
Obey the Cowgod |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Quote:
But if you don't clear out the full size images and page files that were cached during previous searches, they'll just end up being reloaded in your browser and the Hotlink Protection will appear to be an unsuccessful.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Confirmed User
Industry Role:
Join Date: Feb 2007
Posts: 6,904
|
as bizarre as it sounds, I got it working by adding /index.php to my domain instead of leaving it at domain.com
redirect works fine now, thanks very much Magnetron ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Awesome.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
This may get your site penalized by Google. Read this: http://www.seroundtable.com/google-m...tch-17631.html
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,100
|
Quote:
I have lots of bing image searches and wonder how I can get the surfer to land on my website's page (that contains the image they clicked on in the bing search results) instead of seeing the single image in bing's results. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 | |
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Quote:
Best to turn off protection so all your images are properly indexed. Protection seems to hinder Google Bots, etc.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 | |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,100
|
Quote:
For that second part you wrote, how do you turn off protection? Thanks ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
Registered User
Join Date: Oct 2005
Posts: 85
|
Quote:
I really think before anybody does this though, they should crunch numbers on their server logs. Hotlink protection is meant to keep some dickhead from embedding images in his site to leech your bandwidth. If you allow Google to hotlink, they're hosting your thumbnail so at least when you do use up some bandwidth it's a prequalified click. They're also providing a direct link to the image (which is already cached), but they're also giving a free link to your page. Calculate what you spend on bandwidth vs. dollars earned from that traffic if you really want to decide. Now what I personally would just always do to keep the image search traffic but keep other dickheads from leeching Code:
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com(/.*)*$ [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !yahoo\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteCond %{HTTP_REFERER} !search\/cache [NC] RewriteCond %{HTTP_REFERER} !cache [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule \.(jpeg|gif|png)$ - [F] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 |
Registered User
Join Date: Oct 2005
Posts: 85
|
Just to be a little clearer, this was what I was talking about in my post with the 302 redirects. If you mean you want it to hit your page on the thumbnail click you just can't do that. There's always going to be a hotlink there. If you want the direct image link to redirect to the page with the image, it's easy to do assuming each image is associated with a single page, but you need server side code and it's both very very blackhat and very very detectable.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#35 | ||
Lord High Groundhog
Industry Role:
Join Date: Jun 2013
Location: Bumblefuck, USA
Posts: 1,841
|
Quote:
In the case of some douche hijacking your image, the thumb will send surfers to his site while the view image links will still redirect surfers to your site. Quote:
Otherwise, to do it manually - download your .htaccess file, save an original copy, rewrite the other. Upload the rewritten copy to activate HP. Upload the original copy when you want HP deactivated.
__________________
. Approach the mirrored reflection saying his name three times : "Butcher .... Butcher .... Butcher ....."
and wait to see if this Bogeyman urban legend manifests in the background, looming over shoulder While your neighbors were busy killing off everyone in the neighborhood with your own butcher knife in hand concealed behind your back you stood for ever before the window saying nothing |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#36 | |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,100
|
Quote:
2- How are they giving out a free link? All I see is a search result link, same as what you'd get if you a did a web search and one of my sites was listed? I'm not sure yet if I'll do this. Google threatening to penalize is getting to be less and less of a threat all the time since they are always decreasing affiliate's traffic anyway. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |