Closed
Bug 1118318
Opened 9 years ago
Closed 9 years ago
Serve 4xx response status code for deleted documents
Categories
(developer.mozilla.org Graveyard :: Wiki pages, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fs, Assigned: groovecoder)
Details
(Whiteboard: [specification][type:change])
What feature should be changed? Please provide the URL of the feature if possible. ================================================================================== https://developer.mozilla.org/en-US/docs/Web/HTML/Watch_Lost_Girl_Season_5_Episode_6_:_Clear_Eyes,_F What problems would this solve? =============================== I am not sure, but I guess to prevent indexing of deleted but not yet purged docs, we could send a 404 header. Alternatively, noindex meta tag (or both). Who would use this? =================== Spam fighters. What would users see? ===================== Hopefully even less visible spam. What would users do? What would happen as a result? =================================================== I guess it would make deleted docs even less prominent for humans and search engines. Is there anything else we should know? ======================================
Assignee | ||
Comment 1•9 years ago
|
||
Blocking the spam tree bug. We may also use a 410 Gone status code if that's better to get the urls out of search indices.
Comment 2•9 years ago
|
||
+1 to 410.
Comment 3•9 years ago
|
||
Yes, 410 is better for removing info from search engines. (I've edited the title)
Summary: Serve 404 for deleted documents → Serve "410 Gone" for deleted documents
Updated•9 years ago
|
Severity: normal → enhancement
Component: General → Wiki pages
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → lcrouch
Assignee | ||
Comment 4•9 years ago
|
||
https://github.com/mozilla/kuma/pull/2996
Comment 5•9 years ago
|
||
This is not a good idea, see http://searchenginewatch.com/sew/how-to/2340728/matt-cutts-on-how-google-handles-404-410-status-codes "If a page is gone and you think it's temporary, go ahead and use a 404. If the page is gone and you know no other page that should substitute for it, you don't have anywhere else that you should point to, and you know that that page is going to be gone never come back, then go ahead and serve a 410." In other words 410 is not what we want for logically deleted but not yet purged documents. We should keep using 404 for this.
Comment 6•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/2bb8b92dd8b8177541c5d0dbc7e83abeba09d4bb fix bug 1118318 - return 410 for deleted docs https://github.com/mozilla/kuma/commit/2f7d56dfd368b837f8ca07db1a8dd62fe4ef5c9f Merge pull request #2996 from groovecoder/deleted-docs-410-1118318 fix bug 1118318 - return 410 for deleted docs
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•9 years ago
|
||
Updating summary to match our decisions in the PR.
Summary: Serve "410 Gone" for deleted documents → Serve 4xx response status code for deleted documents
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•