Answer the question
In order to leave comments, you need to log in
Why is ErrorDocument 404 giving 302?
Good afternoon, in htaccess: ErrorDocument 404 http://site.ru/404.php
All pages are strictly html files, but when accessing a non-existent one, for example site.ru/men21djakd.html, it
redirects to 404, and everything seems to be fine, but the server returns 302, but you need 404 right away.
Please tell me how to implement (there is no single entry point to solve this php case)?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question