I have a confusion regarding 404 Page

Suppose I've a landing page:


The page no longer exists so what should I do with it?

Case 1: Should I redirect the URL to



Case 2: Should I just replace the content with a 404 page. URL remains the same, but the content is a 404.


Which case should be used?

  • What webserver are you using? Presumably you have a "static" site, so /testing-page maps to a physical file on the filesystem? – MrWhite Dec 24 '18 at 10:29

It is better to leave the URL the same and use a 404 status at that URL.

Most web servers allow your to instead redirect to a 404 page. That is acceptable as well, but not preferred.

Either way, search engines will remove your page from their index. If you show the 404 status directly at the original URL, they will have to crawl one URL rather than two to figure out that the page is gone.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.