Archive

Posts Tagged ‘RewriteRule’

Stop Hotlinking

October 29th, 2007 No comments
Stop Hotlinking Ex: Your site is www.myblog.com. To stop hotlinking of your images from other sites and display a other image called nothotlink.jpe placed in your images directory, place this code in your .htaccess file: RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?myblog\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ ...
GoCache - ByREV-Cache v1.0 - live served in : 0.570335 sec (gzip)