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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-12-2007, 12:03 PM   #1
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Google Images codes to break the fuckin frame!

I am getting so much fuckin google/askjeeves/msn images traffic, and it is ANNOYING!

I saw a thread a few days ago where someone did it via htaccess and a .php page

what options have you all found that worked good, and since the search barely works, does anyone have a link to that other thread?
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2007, 12:08 PM   #2
mikeyddddd
Viva la vulva!
 
mikeyddddd's Avatar
 
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
I just use this javascript on my pages:

if (window != top) top.location.href = location.href;

It breaks the frame.

Or are you looking for something to not display the image?

Last edited by mikeyddddd; 04-12-2007 at 12:10 PM..
mikeyddddd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2007, 12:10 PM   #3
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by mikeyddddd View Post
I just use this javascript on my pages:

if (window != top) top.location.href = location.href;
what if the image is 404? then that will just break the frame and throw them on the 404 page, right?
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2007, 12:22 PM   #4
mikeyddddd
Viva la vulva!
 
mikeyddddd's Avatar
 
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
Quote:
Originally Posted by Jace View Post
what if the image is 404? then that will just break the frame and throw them on the 404 page, right?
You could do something like this in the .htaccess for the image folder:

RewriteCond %{HTTP_REFERER} !^http://(www\.)?YOURDOMAIN(/)?.*$ [NC]
RewriteRule /* /path-to/redirect.php [NC]

In redirect.php:

header("Location: your_url");
mikeyddddd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2007, 12:28 PM   #5
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by mikeyddddd View Post
You could do something like this in the .htaccess for the image folder:

RewriteCond %{HTTP_REFERER} !^http://(www\.)?YOURDOMAIN(/)?.*$ [NC]
RewriteRule /* /path-to/redirect.php [NC]

In redirect.php:

header("Location: your_url");
most of the images that they are looking for were hosted elsewhere, from rss feeds
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.