Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Hotlink Protection Watermark using PHP


gemeweb - 12:52 am on Feb 1, 2013 (gmt 0)


Hello guys,

I own some websites (on wordpress platform) and I was affected by the new Google Image Search. My traffic dropped by 50% and I want to take measures.

Google is using my bandwidth and I don't get any visitor so I want to redirect the people who click to "View original image" to the hosted page of the image. Also I want to watermark the images so the visitors from Google will see: "Click for full resolution" or something like that.

Here is an example: [goo.gl ]
Click on one image and you will see that the image appears with a watermark "Click for full resolution". Also, if you click on "View original image" you will be redirected to the hosted page and not to the .jpg/.png/etc

I need that the code to be for referrals from: google.com, yahoo.com, bing.com only.

How can I do these 2 things? I would prefer a step by step because I am a beginner to PHP.

Also if you can help me (and maybe others) with the code I will remain grateful and God bless you!


Thread source:: http://www.webmasterworld.com/php/4541181.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com