• What up people!

    Does anyone know the proper hotlinking code snippet to place into your htaccess file?

    Any other codes that prevent scrapers and image thefts that work well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Any other codes that prevent scrapers and image thefts that work well?

    There are none to prevent thefts, hotlinking prevention works because it’s not theft. It’s not borrowing. It’s just pointing people to your own images.

    Thread Starter Johnny Bass

    (@johnny-bass)

    #disable hotlinking of images with forbidden or custom image option
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

    Would this work for hotlinking?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hotlinking code / Scrapers… 2 Quick Questions?’ is closed to new replies.