V
V
Vlad2016-03-18 14:23:53
PHP
Vlad, 2016-03-18 14:23:53

How to set up a 404 error in Datalife?

Here is an example of a server response when opening a non-existent category on the site:
www.bertal.ru/index.php?a2566748/multmult.com/web/...
First comes HTTP/1.1 301 Moved Permanently
then HTTP/1.1 302 Found
then HTTP/ 1.1 200 OK
I can't figure out which file to set up so that initially when opening a non-existent category it gives 404 error?
===================
The same problem if you open a deleted article: multmult.com/341-malysh-barboskiny.html
301-302-200
And I need to immediately give 404 .. I do not understand how! I have already deleted all 301 headers from engine and show.full .. but it still gives

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question