Support » Plugins » Stop hotlinking with custom image

  • Resolved rileybetka


    Hello, I am looking for a good way to stop hotlinking – I found a plugin that seems to work good but I am looking for one that will let me display a custom image rather than some default one. I have followed instructions here to try and stop it:
    but it didn’t seem to work – I already have a .htaccess file and I am not sure if I should replace the code that is already in it with the code from this site or just add this stuff to it. This is what my .htaccess file currently looks like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress
    On a side note – I don’t really know what these conditions that are in my htaccess are for – they were generated by WordPress so not sure how important they are

    Am I supposed to replace these rewrite conditions with the ones that are listed on that page or just add them? I tried adding them and it didn’t seem to stop the ability to hotlink. Any help is greatly appreciated! Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stop hotlinking with custom image’ is closed to new replies.