How do you deal with large numbers of 404 requests in WordPress?
I've noticed that my server receives a surprisingly large number of requests every day for random URLs that don't exist.
Every one of those requests eventually results in a 404, but WordPress still has to bootstrap, load plugins and process the request before it can determine that the page doesn't exist.
With enough of these requests, that seems like a lot of unnecessary PHP work for something that will only return a 404 anyway.
How do you deal with this?
Do you just accept it as normal WordPress overhead, handle these requests before they reach WordPress, or use some other approach?
[link] [comments]