• Hi,
    I have tried a few hotlink plugins for wordpress and am not having much success.

    After changing a few things in htaccess I found where the issue lays but am not sure how to resolve it, so i’m calling on the experts.

    The plug inserts some RewriteCond and RewriteRule to the end of my htaccess file. However the plugin doesn’t work.

    If I move the plugin contents around i’m able to get the plugin to work, though my site stops working.

    Under # Begin WordPress I have the following:

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]

    If I insert the plugin code before RewriteRule ^ – [L] the plugin seems to work but my site stops or goes offline. If I put the code after RewriteRule ^ – [L] my site works again but the plugin stops.

    I’ve read up a little on RewriteCond and understand the 2 lines above, but i’m not sure on the RewriteRule.

    Any ideas ?

  • The topic ‘htaccess file and hotlink plugin’ is closed to new replies.