The purpose of setting the 404 page is to improve the user experience of the website. In the user's opinion, we choose url or file, but in the search engine, there are many differences between url and file, the url returns status 200 and the file returns status 404.
The 404 page is more beneficial to the user experience
When you delete and modify part of the content on the webpage due to a website revision, you can use 404 page redirection to effectively protect the original website traffic. When the website cannot be opened, if no 404 page is set, remind users not to lose the website image and improve user experience. page 404 beautification is also very important. It can improve the website image. How to define settings on page 404 is a commonly used method. If you use a VM, You can consult your server provider for definition. step 1: Open IIS (internet Information Service ). Step 2: select your website, right-click Properties, and click custom errors. Step 3: Find "404" in the "http Error message" box, double-click it, or click "Edit attribute" to define the webpage address on page 404 of your website, this method is only applicable to friends who have server management rights, and other friends who buy space define settings. Could you tell me your server carrier. I have never tried the following!
Iis asp 404 error page settings
Set static
404 error pageIn IIS manager, right-click the website you want to manage and open the custom error information page in properties, set the error information page for "404. However, in "Message Type", you must select "file" or "Default Value" instead of "URL". Otherwise, the "200" status code will be returned.
Conclusion: No matter what server,
Page 404Make sure that the status code returned by the server is 404. If this cannot be ensured, we recommend that you do not do this for seo.
404 error pageSet to avoid good intentions