• Resolved psamathe

    (@psamathe)


    If a malicious visitor is sometimes visiting https://example.com/badplace and sometimes https://example.com/badplace/index.php, in the list of “Immediately block IPs that access these URLs” can I just enter /badplace/* (to cover both URLs) or do I need 2 entries /badplace and /badplace/*

    (It’s actually different visitors to one visitor being blocked by one URL will not already be blocked when trying the 2nd, hence wanting to block both URLs).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 9948090

    (@anonymized-9948090)

    You need to add following:

    /badplace*

    If you use /badplace/* then it’ll not cover /badplace as an extra ‘/’ exists in banned URL.

    Thread Starter psamathe

    (@psamathe)

    Many thanks to clarify (I’m a bit slow)

    You need to add following:

    /badplace*

    If you use /badplace/* then it’ll not cover /badplace as an extra ‘/’ exists in banned URL.

    So /badplace* will also cover /badplace (i.e. * can include nothing as well as anything).

    (Sorry for my lack of understanding)

    Anonymous User 9948090

    (@anonymized-9948090)

    ^^ Yes.

    Hey @psamathe,

    @yet-another-wp-user is correct (thanks for sharing the information) in how to use the Custom Pattern. Happy to hear you were able to get this sorted.

    Please let us know if anything else comes up.

    Thanks,

    Gerroald

    Hey @psamathe,

    We haven’t heard back from you in a while, so I’ve gone ahead and marked this thread as resolved.

    Please feel free to open another thread if you’re still having issues with Wordfence.

    Thanks,

    Gerroald

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Question on Immediately block IPs that access these URLs’ is closed to new replies.