Jump to content

Image agregattors gather .jpg from Presta


2grosiek7

Recommended Posts

Hello,

I've noticed a big problem, because I found in my new backlinks, links under gather and copied from my webshops images (PS 1.6, but seems to problem is also in higher versions). How to prevent these types of, in my opinion, malicious, unwanted activity? How looks like your anti-bot rules in robots.txt?

Link to comment
Share on other sites

* place a watermark on a visible surface, such as a pedestal, cabinet, etc.)

* .htaccess

- the third and fourth lines allow domains that can display the image

RewriteEngine on 

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com [NC]

RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]

RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]

There is also a more advanced variant that will cause another image to appear instead of any image. For example, warning you that you don't want anyone to abuse your pictures. You must place a link to this image on the fifth line with a warning:

RewriteRule \.(jpg|jpeg|png|gif)$ https://otherdomain.com/image.jpg [NC,R,L]

To avoid a serious error, this image must be outside of your domain listed on line 3. Therefore, it is not subject to the hotlinking restriction.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...