How can URLs look like - and work

Documentation Book 3

This book was made for testing local URL parts of page URLs. A goal of this test is to avoid file name extensions like .html or .htm for pages.

  • a local URL part like /book3 works, could be used for the landing pages of a book
  • local URL parts like /book3chp1 or /book3_chp2 or /book3-chp3 work, could be used for chapters
  • local URL parts like these don’t work: /book3/chp1 -> second slash is removed, OR /book3.chp2 -> triggers the download of a file with the extension .chp2

Conclusion: A URL design like {base URL}/{book name}-{chapter name} should work