![]() |
![]() |
![]() |
||||
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 |
Biz Dev and SEO
Industry Role:
Join Date: Jun 2005
Posts: 15,180
|
Redirecting Google Images traffic?
I was looking at webstats and found out I have tons of Google Images traffic. Whenever a query is made, it's sending traffic directly to the image. I'd like to send it to the page.
For example: http://www.mysite.com/mypic.jpg -> http://www.mysite.com/something.html whenever the refferer has "images.google" in url. Can someone please help with .htaccess? Thanks!
__________________
--- Busy ranking websites on Google... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
l337 h4x0r!#%
Industry Role:
Join Date: Feb 2005
Location: OKC, OK, USA
Posts: 8,364
|
RewriteEngine on
RewriteBase / RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png)$ [NC] RewriteCond %{HTTP_REFERER} ^images.google.com$ [NC] RewriteRule (.*) http://whatever.com/file.html [NC]
__________________
hacker 4 hire. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2002
Location: Las Vegas
Posts: 2,625
|
Whenever I have surfed Google images it always links to the page the image was originally on. If you start redirecting their surfers to a totally different page you can expect the ban hammer to start swinging in your direction I would think.
__________________
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
why not just use break-out-of-frame javascript code?
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Biz Dev and SEO
Industry Role:
Join Date: Jun 2005
Posts: 15,180
|
I don't know what happened, but thumbs on Google Images links to the original images, but not to the original pages anymore. At least for me. Btw, woj, can you post that js code?
__________________
--- Busy ranking websites on Google... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Adult Content Provider
Industry Role:
Join Date: May 2005
Location: Europe
Posts: 18,243
|
Alright thanks.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jan 2007
Location: Vienna, Austria
Posts: 374
|
Quote:
[1] Code:
if (top.location != location) { top.location.href = document.location.href; } |
|
![]() |
![]() ![]() ![]() ![]() ![]() |