Skip to content

Instantly share code, notes, and snippets.

/hotlinking.htaccess
Created Aug 17, 2016

Embed
What would you like to do?
# Hotlinking verbieten
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
## Deine Domain einfügen !!!!!!
RewriteCond %{HTTP_REFERER} !^https://(www\.)?democraticpost\.de(/.*)?$ [NC]
RewriteRule \.(jpg|jpeg|gif||png)$ - [F]
</ifModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.