See IP address when a 404 error occurs

#22215
  • Resolved Rik van Schaik
    Rank Math free

    Is it possible to see the IP address who has generated an error 404?
    Also to block the IP address if needed. I am using Rank Math for a while and am very happy with it but I am missing this part.

    I see many crazy attempts to files or url’s that looks like hacking. It would be nice to see which IP is generating this error 404 and maybe also to ban this IP from the website.

    Maybe there is a code snippet that I can implement that works with Rank Math to get this done?

    Thanks

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Unfortunately, from RankMath, there is no way to getting the origin of the request.

    You would need to find some other protecting plugin for such a task.

    Hope this helps.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘See IP address when a 404 error occurs’ is closed to new replies.