Quote:
Originally Posted by gracesfall
How does that combine w/ what WP normally puts in the .htaccess file? I tried adding it and it made my whole site go 501 Server Error on me. Ugh.
|
try
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)domain.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|bmp|flv|swf|png|pdf|css)$ - [F]
place it after the standard wp code in the htaccess file