• Resolved isaxby

    (@isaxby)


    I keep getting visitors from my-seo-promotion.com using the above URL.

    Google Analytics shows it as /h/5178723.html so I have added /h/5178723* to the “Immediately block IPs that access these URLs” part of the firewall, but it has made no difference.

    When I try and access the URL I get the blocked screen, but it seems it is not blocking others.

    Have I done something wrong?

    Thanks!

    • This topic was modified 6 years, 2 months ago by isaxby.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @isaxby!
    Does the /h/5178723.html file exist? If so, I’m afraid Wordfence will not be able to block access to it. It’s a .html file and Wordfence is a PHP application, so it only runs on .php files. If the file does not exist, PHP will usually run because the request is then routed via WordPress (to serve a WordPress theme 404 file).

    If you definitely want to block this page even though it exists, you can add a rule manually in your .htaccess file.

    Example

    <Files "5178723.html">
    Order Allow,Deny
    Deny from all
    </Files>

    Hi @isaxby,
    Since we haven’t heard from you for a while I’m going to go ahead and resolve this thread for now. If you have any other questions or concerns at any point, feel free to start a new thread. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to block a URL’ is closed to new replies.