<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 2, 2008, at 7:28 AM, Thomas Wouters wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 12:44, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">Thomas Wouters <thomas <at> <a href="http://python.org" target="_blank">python.org</a>> writes:<br> ><br> > If anyone feels particularly frustrated by the old URLs breaking, I wouldn't<br> mind adding a redirection for each individual URL as long as I don't have to<br> build that mapping<br> <br> </div>Well in general URLs aren't supposed to break (except the ones which are<br> deliberately temporary). Could a RewriteRule do the trick?<br> </blockquote><div><br>Not a single one, no. The URLs *all* changed. There is not a single one that's the same. We may be able to do a single rewrite rule for most of the module-*.html URLs, but everything else -- and there is quite a lot of 'else' in the 2.5-and-earlier docs -- needs a better mapping. Feel free to send me that mapping :-)</div></div></div></blockquote><div><br></div><div>Perhaps it has already been suggested and rejected for some reason, but we could include the major/minor version numbers in the URLs. That would make it easier to rewrite old URLs, and I assume there will be 2.x and 3.x documentation available online for some period of time?</div><div><br></div><div>docs.python.org/lib/* could redirect to docs.python.org/2.5/lib/*</div><div><br></div><div>docs.pyhton.org/ (note no *) could redirect to docs.python.org/2.6/ and include a link to docs.python.org/3.0/</div><div><br></div><div>That way all of the old references (in Google and bookmarks) would still work.</div><div><br></div><div>Perhaps we should restore the old version of the files until this is resolved? Being redirected to the top landing page is a little disconcerting if you come to the site through a search engine and aren't familiar with the organization of the manual. For example, I went to look for the documentation on how slots work, and ended up at the top of the reference manual. The local search didn't work (no results), "slots" isn't in the index, and google still has the old URL.</div><div><br></div><div>Doug</div><div><br></div></div></body></html>