Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Désactiver le hotlinking de vos images

# Désactiver le hotlinking de vos images
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?monsite.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?monsite2.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?monsite3.com [NC]
RewriteRule .(jpg|jpeg|png|gif)$ http://fakeimg.pl/400x200/?text=Pas_touche_aux_images [NC,R,L]
Source by wpmarmite.com #
 
PREVIOUS NEXT
Tagged: #le #hotlinking #de #vos #images
ADD COMMENT
Topic
Name
2+8 =