Support » Fixing WordPress » htaccess – different if URL is

  • Resolved gcoghill


    My webhost asked me to add hotlink protection via htaccess to track down some CPU hogging.

    My blog’s URL is

    I used this online tool to generate the htaccess code:

    When I entered the URL, I entered it exactly as it is above. Is that correct? Also, does it matter where in the htaccess file the code is placed? I have it placed at the end of the file.

    It is preceded by the WP-Super Cache htaccess code, and then the standard WP permalinks code. After those two I added the hotlink code.

    When testing it on this page:

    It doesn’t seem to be working.

    I am not sure what I am doing wrong. I use htaccess in other non-WP areas of my site and it works OK (for 301 redirects and such) so I know htaccess is enabled and works.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘htaccess – different if URL is’ is closed to new replies.