WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Help modifying .htaccess

[Resolved] Help modifying .htaccess

  • 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 ‘[Resolved] Help modifying .htaccess’ is closed to new replies.
Skip to toolbar