Support » Plugin: iThemes Security (formerly Better WP Security) » How can I completely block Referrer please?

  • I am getting several 404 errors from a referrer site on a daily basis mostly trying to reach WP files such as /wp-content/plugins/wp-setting-dist.php – but it using a large range of IP addresses and hence difficult to ban completely. Is there some some other method I can use perhaps to block the URL?
    Thanks in advance

Viewing 8 replies - 1 through 8 (of 8 total)
  • CehWeb


    I am getting the same issue. I hope that we can receive support for this problem, because I am receiving daily a lot of 404 errors since a few weeks. Thanks and greetings.


    How can we block a referrer?

    I have the same problem.
    Can anyone help please?



    I have the same issue

    You’ll have to add a rule to your .htaccess file. Here’s a link that describes how:

    Ah thanks so much!!

    Q: How can I completely block Referrer please?

    A: Say goodbye to iThemes Security, and switch to Wordfence. Blocking a referrer is a built in feature, and it has many more.

    I had to give up on iThemes Security. It was creating inexplicable errors and there’s no support for the free version.

    I’ve been using Wordfence for a few weeks now and it’s fantastic. I have block. The other missing feature in iThemes Security is blocking attempts to access known vulnerabilities such as php files or plugins. iThemes Security will only report these as 404 errors. Wordfence lets you name these files, and block those IPs from further access.

    I prefer this:

    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{HTTP_REFERER} site\.ru [NC]
      RewriteRule ^(.*)$ - [F]  
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.