Skip to main content

404 pages return HTTP 200 and no noindex

A wrong movie ID shows the 404 page in the browser, but the server answers 200 and the HTML has no noindex and no canonical. Example: https://wetrakr.com/movies/999999999

curl -I gives HTTP/2 200, and the HTML served is the homepage. Same with /movies/abc and /shows/0.

So the 404 only exists in the browser. For Google and for link previews those URLs look like the homepage.

To check: curl -I https://wetrakr.com/movies/999999999

Log in to comment and vote

No comments yet

Be the first to share your thoughts.