2007
08.01

Edit your .htaccess to something like the following:

Try not to change what’s already there and use common sense when modifying this file as it can break your site. As always, back it up first.


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.*)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpe?g|png|bmp)$ [F,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

No Comment.

Add Your Comment