[GHC] #14543: Broken links to docs all over the web

GHC ghc-devs at haskell.org
Thu Nov 30 03:02:23 UTC 2017


#14543: Broken links to docs all over the web
-------------------------------------+-------------------------------------
        Reporter:  SimonHengel       |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:  wontfix           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by SimonHengel):

 Well, that didn't happen in the past.  It's easy to blame the content
 authors who linked to the users guide in the past.  But that won't improve
 anything.

 Just one more example is here:

 https://prime.haskell.org/wiki/LiberalTypeSynonyms

 The authors of this page are Simon Peyton Jones and Simon Marlow, both
 also authors of the users guide.  They didn't get it right, and so many
 others didn't.

 Literally every link to the users guide is broken right now.  Closing this
 as "wontfix" is like pretending that there isn't any problem.

 As I see it, as a content creator it is your responsibility to keep URLs
 stable.  If you don't do it it hurts your users, reduces your visibility
 and has a negative impact on your Google ranking.

 So what can we do to mitigate this situation?  Here is a non-comprehensive
 list of two options:

  - Scan the server logs for 404, sort them by frequency and create
 redirects based on that.
  - Turn requests to {{{/latest}}} into redirects to the canonical URL so
 that this situation won't happen in the future (assuming that most of the
 time URLs are actually copied and pasted)

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14543#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list