: What's the best way to end a Web site? I have a Web site, built on ASP.NET MVC 3, that will be closing down completely. The domain will still be required for a few months, so during that
I have a Web site, built on ASP.NET MVC 3, that will be closing down completely. The domain will still be required for a few months, so during that time I'd like to display a single message on at least the main page.
I'm thinking that standards would dictate to either have all requests directed to a single page via 301 Moved Permanently, or serve a 410 Gone for all requests.
This is the first time I've completely closed a Web site, and while I hope I don't have to do it again soon, I'd like to know the preferred way to do this.
(I'm completely open to tag suggestions. Closing a Web site doesn't seem to be popular topic, which I suppose is sort of a good thing.)
More posts by @Ann8826881
1 Comments
Sorted by latest first Latest Oldest Best
After the site is closed sending a 410 Gone HTTP status code would be the proper way to do it as this will tell search engines those pages are gone for good and to remove them from their index.
404 will do this, too, but may take longer as the search engines will keep retrying to reach it several times before removing it from their index.
Also, make sure when you send the 410 status code you redirect users to a page expaining the site is closed so they don't get messy error pages and get confused as to what happened.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.