Relative Content

Tag Archive for nginxhttp-redirecthttp-status-code-404

Custom Error page returns 200 instead of 400

false request on my website like example.com/fsdfdsf is redirected to my custom error page. Since it’s already redirected to the custom error page I desire, it returns a status code of 200. My intention is to encounter the 404 error message both while redirecting to the custom error page I’ve created. Code written with one of the old versions of react, however I am not a developer so I don’t know what to do on codes.