apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
484 stars 136 forks source link

Canonical url and header link broken (404 Not Found) #504

Open Krinkle opened 6 years ago

Krinkle commented 6 years ago

Both at https://apple.github.io/ccs-calendarserver and https://www.calendarserver.org/ the page declares the following canonical url:

<link rel="canonical" href="https://www.calendarserver.org/ccs-calendarserver/">

However the url https://www.calendarserver.org/ccs-calendarserver/ does not exist (and presumably isn't supposed to). Looks like this is the result of partially old (apple.github.io sub directory) and partially new (calendarserver.org) mixing together to produce a broken url.

Also, on https://www.calendarserver.org/ the navigation bar points the title "Calendar and Contact Server" to an absolute path url /ccs-calendarserver/index.html which naturally is also a 404 Not Found when viewing from e.g. https://www.calendarserver.org/FAQ.html.

The easiest fix is probably to update the Jelyll configuration to always assume the new domain and to update the GitHub Pages config to enforce viewing via the .org domain, instead of supporting both.


See also https://github.com/smartcardservices/smartcardservices/issues/149