C
C
chetverukhin2014-04-07 12:09:36
Yandex
chetverukhin, 2014-04-07 12:09:36

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

3 answer(s)
A
as3k, 2014-04-07
@as3k

If I understand you correctly, delete (or comment out) the contents of the .htaccess file in the WordPress root.

V
Vlad Zhivotnev, 2014-04-07
@inkvizitor68sl

If there is nginx, then:

proxy_intercept_errors 
error_page 404 = /404.html;

In location / add. 404.html is a static page that should be shown instead of a 404.

K
Konstantin Kovshenin, 2014-04-30
@kovshenin

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 question

Ask a Question

731 491 924 answers to any question