Answer the question
In order to leave comments, you need to log in
How to disable 404 error handling in Wordpress?
The Yandex robot creates a heavy load on the server by accessing pages that were previously, but now it receives a 404 error.
Yandex advised to disable the processing of the 404 error by WordPress until the update is completed, but I did not find any information about this on the Internet. Perhaps they meant deleting the 404.php file, but I'm not sure.
Perhaps you can tell me how to do this?
Answer the question
In order to leave comments, you need to log in
If I understand you correctly, delete (or comment out) the contents of the .htaccess file in the WordPress root.
If there is nginx, then:
proxy_intercept_errors
error_page 404 = /404.html;
It is better to understand why requests with 404 create such a load on the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question