![]() |
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! |
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] |
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.
|
why not just use break-out-of-frame javascript code?
|
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?
|
Alright thanks.
|
Quote:
[1] Code:
if (top.location != location) { |
All times are GMT -7. The time now is 01:53 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123