I need to do a 410 Gone on a bunch of html pages for a site running on IIS. Is there a simple way to do them all at once, like an htaccess file, or do I have to do it one at a time in IIS?
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
-
Why does the box-shadow property not apply to a
I do it this way:
And then I have in webconfig system.webServer
This means that all the pages that return 410 will be fetched to the user & search engines using
/Error410.aspx
page.In Error410.aspx I also set
Response.StatusCode = 410;
otherwise the statuscode will be 200 OK.