Hotlinking prevention

Use this forum to make posts not related to PivotX. Do you use a tool that someone else might like or need to test something like your signature or some bbcode? This is the right place for you! Spamming will not be tolerated.

Hotlinking prevention

Postby dwaas » Fri Mar 16, 2012 12:11 pm


Could someone provide me with the answer to the following question:

How do I prevent hotlinking from my site?

I tried by putting this in my htacces:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?vecordis\.nl/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ [L]

but is does not seem to work...

Any ideas?
User avatar
Posts: 93
Joined: Mon May 19, 2008 9:11 am
Location: Maastricht, The Netherlands

Return to The Drain

Who is online

Users browsing this forum: No registered users and 1 guest