• Resolved oldmankit

    (@oldmankit)


    I’m trying to stop hotlinking. How do I change the following so that it allows hotlinking from any of the subdomains at peaceandtruth.com? (e.g. blog.peaceandtruth.com)

    ‘# block hotlinking
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?peaceandtruth.com/.*$ [NC]
    RewriteRule \.(gif|jpg|js|css)$ – [F]’

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help modifying .htaccess’ is closed to new replies.