Answer the question
In order to leave comments, you need to log in
[ZF2] 404 page instead of status code 404 shows 200?
Forced $response->setStatusCode(404); Does not help. In the developer panel and Yandex bot shows 200. Advise
Answer the question
In order to leave comments, you need to log in
and what kind of response do you return?
need something like this:
...
return $response->setStatusCode(404);
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question