Add-on SDK
5 years ago
5 years ago


(Reporter: ianbicking, Assigned: wbamberg)


Firefox Tracking Flags

(Not tracked)




5 years ago
Google returns this URL as a top hit (for "addon-sdk widget"):

It currently has a 404.  The current URL appears to be:

(note "/docs/" in the first URL)

There should be redirects from the first URL to the second.

Another example 404 URL from a Google search:

I'm not sure what this URL should point to.  I believe these are recent regressions.

Comment 1

5 years ago
What is recent is that would have worked on Monday, but won't work today. But I would expect that a link that uses "latest" would have been broken since bug 699551 landed. In particular, see bug 699551, comment 6.

But since you've raised this the day after we changed the online docs quite a lot (the fix for bug 779590 has us only keeping the last 3 versions of the docs, and that went up yesterday), maybe I'm wrong about that :(. 

Either way. I'd say there are a couple of things we could do:

* ask Google to reindex our site: a lot of these pages are very old, and we have just removed a lot of old content. I'm pretty sure we can do this, but I don't have the power to, myself.

* build a table of redirects for old pages. For the API reference docs, we could fix most 404s by redirecting any requests of this form:<version>/packages/<package_name>/docs/<page>


- that is, redirecting all versions to "latest" and dropping the second "docs". For other docs, like the "annotator" example you pointed to, it's more complicated, but still doable.

Ian, does this sound like it would fix your case?

Jeremy, is this something you could help us with? I could build a list of desired redirects for all old pages, if you could (1) implement them, and (2) ask Google to reindex the site.

Comment 2

5 years ago
People could be linking from elsewhere, and you lose SEO juice if you just abandon pages, so redirects should be a priority.  Given that there's a lot of rearrangement I would also suggest scanning the logs for 404s to see if there's other patterns that should be redirected.  Also the 404 page is bare, and could use some helpful content (but please don't make it a redirect to the main doc site!)

Comment 3

5 years ago
Alternatively, I could extend what I've done for versions 1.10 and 1.9, where there's a little banner pointing people at the most recent version:

...or a note pointing people at the index page, if the page no longer exists in the new version:

For pages referenced with a version number, do you think this is better than a straight redirect? (It seems to me that it is clearer.) We would still redirect any pages referenced using the "latest" alias that have moved.


5 years ago
Priority: -- → P1


5 years ago
Assignee: nobody → wbamberg

Comment 4

5 years ago
I'd like to close this bug, since:

(1) it's not, apparently, practical to have redirects for these pages (see bug 820897, which is closely related to this one)
(2) those pages don't any longer show up in Google search results
(3) we've now got a more helpful 404 page
Priority: P1 → --
Last Resolved: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.