hi to all, i want to know if it`s possible and how to do it: If you have one website with images and you want those images to appear in google images for example but you don t want the image to appear with img scr on another website,blog,etc and when somebody is trying to put an img scr to the sitename/galery/image.1 jpg instead of putting and displaying the image,only to be visible link so user get to the gallery. This is possible to be done and how?And if it`s done google images or images search directories will be able to display the pictures in the directories? From what i readed i think it haves something to do with .htacces but if i m wrong you can share your experience and give an solution.
Hello, you will need hotlink protection, can't post the link but google for hotlink-protection at htaccesstoolsdotcom. Hope this will help.
put this into .htaccess in your directory with images: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ [NC] RewriteCond %{HTTP_REFERER} !^.*(google).*$ [NC] RewriteCond %{HTTP_REFERER} !^.*(bing).*$ [NC] RewriteCond %{HTTP_REFERER} !^.*(yahoo).*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourwebsite.com(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://yourwebsite.com/images/nohotlink.gif [R,NC] Code (markup): Replace yourwebsite.com with your domain It should allow google,bing,yahoo,
One more questions in here : yourwebsite.com/images/nohotlink.gif normaly when somebody will try to put an photo from my website,he will dispaly an image that will be nohotlink.gif corect? And that nohotlink.gif can be an image clickable with an link under it so when user click on it to acess the sitename.com ? And if the stealer of the bandwith if it will display that nohotlink.gif it will not steal anymore no bandwith when it will display that on his website?! Thanks very much mate.
I understand thanks very much! That image,or something an text instead of an image but clickable cannot be puted via .htaccess?And if anybody knows,how?!...Thanks..