N
N
noxmag2019-06-03 18:00:30
MODX
noxmag, 2019-06-03 18:00:30

How to make the server response code on the page 404 = 404?

Good day!
CMS MODX revo 2.7.1
How to do with modx tools:
a) page server response code 404 = 404
b) what would site.ru/404 be displayed in if the url was entered incorrectly? Those. so everything works and if the url is not entered correctly, it redirects to the page, but everything that was entered incorrectly is displayed.
I registered ErrorDocument 404 https:/site.ru/404 in htaccess, it did not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2019-06-03
@Froggyweb

You need to create a 404 page in the document tree
in the cms settings 404 error page specify the id of the created page
all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question