Mobile app version of vmapp.org
Login or Join
Merenda212

: 404 page on a static decommissioned webpage We have decommissioned an old website and replaced the homepage with a similar static page stating that the offer is no longer available. We are

@Merenda212

Posted in: #Homepage #StaticContent

We have decommissioned an old website and replaced the homepage with a similar static page stating that the offer is no longer available.


We are returning the homepage with a 200 header if navigated to directly.
We are returning the homepage with a 404 header for resources that cannot be found (including all the old pages that used to have content).


Is this good practice for this scenario? We could feasibly return a 404 for direct navigation to the homepage as well or create a separate 404 page for resources that cannot be found.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

Returning the same page (or rather, the same "content" - I assume you are not literally redirecting to the homepage?!) with different status codes does seem a bit "wrong". Although this isn't necessarily "bad" - the website is decommissioned after all.


We are returning the homepage [stating that the offer is no longer available] with a 200 header if navigated to directly.


This seemed odd initially when first reading... if the website is "decommissioned" then why not just return a 404 for everything? However, depending on what the site previously offered, it may be preferable for Google to index this "notice" so users can find it. (?)


We are returning the homepage with a 404 header for resources that cannot be found (including all the old pages that used to have content).


Whilst I don't think this is necessarily "bad", I think it would be preferable to return a more customised 404 which either contains the additional information about the site being decommissioned or links to the homepage (where they can get more information). That way, the homepage (content) only ever returns a 200 OK and it's more immediately obvious to the user that the resource does not exist.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme