-
Notifications
You must be signed in to change notification settings - Fork 123
Syllabus responds to both trailing-slash and non-trailing-slash versions of pages, but links only work on one or the other #121
Comments
@illicitonion The first one re-directs to the second one for me. What browser are you using? |
Interesting, they do now for me, but I swear (and @ClaireBickley reported it wasn't working before... Weird. Anywho, looks like links are always broken now, so we should fix that! |
Problem diagnosisOk, this looks like it's a bug around links within Docusausrus pages? If you go to https://syllabus.codeyourfuture.io/git/overview/ the link to "Week 1" is a link to If you click it, it doesn't follow the 301 to What we should doI think we should be writing the pages assuming the 301 is followed, so we need to change the link on index to be to But for this to work, we need to also either:
|
Seems to be a known issue in Docusaurus |
Fixes CodeYourFuture#121 See commentary in CodeYourFuture#254 (comment)
Fixes #121 See commentary in #254 (comment)
If you go to https://syllabus.codeyourfuture.io/git/index the links (like to the preparation page) work.
If you go to https://syllabus.codeyourfuture.io/git/index/ they don't
We should force the server to redirect one to the another, to be canonical, and make sure the links work on that version.
The text was updated successfully, but these errors were encountered: