Opened 3 years ago
Closed 3 years ago
#6221 closed defect (bug) (worksforme)
Use `410 Gone` response on permanently closed plugin pages.
Reported by: | peterwilsoncc | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description (last modified by )
Plugin pages for permanently closed plugins currently emit a HTTP 200 OK
response. For these pages a 410 Gone
response makes more sense.
I suggest this for both developer initiated (such as this plugin for app.net) and plugin team initiated closures.
For temporary closures, I think it's best if the response code remain 200 OK
.
Change History (3)
#1
@
3 years ago
- Description modified (diff)
- Summary changed from Use `401 Gone` response on permanently closed plugin pages. to Use `410 Gone` response on permanently closed plugin pages.
#2
follow-up:
↓ 3
@
3 years ago
It's an important distinction that whilst the plugin has been removed, the page has not. Whilst it still contains links to related resources (e.g., support forums), we should maintain the 200 status (in addition to the noindex
directive).
A 410 here is a dangerous option; it'll permanently 'kill' those URLs, and prevent them from ever being indexed by search engines in the future.
#3
in reply to:
↑ 2
@
3 years ago
- Resolution set to worksforme
- Status changed from new to closed
Replying to jonoaldersonwp:
It's an important distinction that whilst the plugin has been removed, the page has not.
Works for me. Closing as such.
410 still seems reasonable for never-opening-again (ie. closed for 6+months), and although I don't think search engines would kill indexing forever, by that point they'll have already ceased showing it in results through the noindex, so changing the status makes little difference here.
401/403 are permission-related statuses, which do not make sense to be used in this context IMHO.
Updated to reflect
410 Gone
rather than401
.https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410
There's three statuses we can use here:
When a plugin is closed, we currently return a
robots
noindex
tag for closed plugins but keep 200 as the status code.I don't think we should return 404 for plugins that exist, but are no longer available.
410 Makes the most sense to me.