Bug#877367: Bug #877367: www.debian.org: Please consider adding redirects for old Policy chapters/appendices

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <3b8a20f1-de79-3c98-2dc3-05791d68246c__49509.6805658706$1514985042$gmane$org@debian.org>
Hello
DSA team kindly applied the patch for Apache rewrite rules, and I've
checked that it works as intended, at least with the examples provided
in this bug report, plus the ones that Rebecca linked in the codesearch
query.

One of the rules is to redirect:

www.debian.org/doc/debian-policy/ch-whatever.html#oldsection ->
www.debian.org/doc/debian-policy/#document-ch-whatever

and maybe it's better to redirect in this way:

www.debian.org/doc/debian-policy/ch-whatever.html#oldsection ->
www.debian.org/doc/debian-policy/#oldsection

At least I've checked with the links present in developers-reference
(the ones that pointed Rebecca) and it works, since the "oldsection"
anchors are in the form "s-section" and the sections inside chapters are
named the same.

But I'd like somebody from the Policy team to confirm (since they know
better the schema used for naming anchors).

Sean, if you prefer that we redirect to the chapter as we are doing now,
feel free to close this bug. If you can confirm that all the
ch-whatever.html#oldsection can be safely redirected to #oldsection
(suppressing the substring of chapter), I would write a new patch for
this rule in the Apache config.

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.