-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the old URLs for six webinars don't match the new URLs created by Hugo #84
Comments
Added re-directs for these six webinars to the Netlify config file. These will need to be tested the next time we have Netlify re-build the site. |
These all work except for the first one, |
I'm re-opening this issue because the six webinar pages listed above need re-directs (#79). For example, https://dataone.org/webinars/advancing-research-data-publishing-dryad’s-next-steps currently re-directs to the https://old.dataone.org/webinars/advancing-research-data-publishing-dryad%e2%80%99s-next-steps. |
The way that Hugo sanitizes URLs (see gohugoio/hugo#4032) means that we have six webinars with URLs that don't match the URLs for the old website. This means that users who have bookmarked or linked to webinars with the old URL will end up with a 404 when the new website is launched. This may also have repercussions for transferring over the the Disqus Q&As (see issue #82). We might be able to resolve this by setting up re-directs with netlify.
Characters that cause the issue
“
,—
,’
,-–-
Fixes attempted
The following does not fix the problem:
%E2%80%99
and’
from the urlhugo list all
indicates that the page exists with a URL matching the one entered, but navigating to that page leads to a 404.Example
The URL for the Dryad webinar on the old site is https://www.dataone.org/webinars/advancing-research-data-publishing-dryad%E2%80%99s-next-steps. In the slug field for the new version of the Dryad webianar, whether we enter
advancing-research-data-publishing-dryad%E2%80%99s-next-steps
oradvancing-research-data-publishing-dryad’s-next-steps
, hugo changes the resulting URL to https://preview.dataone.org/webinars/what-it-means-be-dataone-member-nodemember-nodes-share-their-views/. Navigating to https://preview.dataone.org/webinars/advancing-research-data-publishing-dryad%E2%80%99s-next-steps leads to a 404The six problematic URLs
Slug as entered in the webinars slug field
Slug in the old website
How it's encoded with Hugo
The text was updated successfully, but these errors were encountered: