Skip to content
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

Clicking links on content page switches URL to using UUID instead of slug #3706

Open
karenhanson opened this issue Jan 11, 2024 · 0 comments

Comments

@karenhanson
Copy link

Relates to feedback from Mellon-funded Embedding Preservability project. This is similar in effect to #3531. When clicking a link from the toc page (e.g. https://manifold.umn.edu/read/metagaming/section/50eda481-7722-4de0-abb8-3bf771d143d0#toc), if you click a content page link it will switch the "metagaming" slug in the URL to a UUID instead. There is a similar affect if you navigate back to the content page using the link at the top of a section.

Expected Behavior

I expect the URLs to consistently use the slug version of the URL as you navigate pages

Current Behavior

Clicking a link in the content page switches the URL to the UUID format from /read/{slug}/section/{uuid} to /read/{uuid}/section/{uuid} it then continues to use the UUID until you click something that forces it back to the slug. Clicking back to the content page using the link at the top of section does the same thing.

Possible Solution

Change the content page links and links to the content page to use the slug version of the URL.

Steps to Reproduce

  1. Start here on the ToC page: https://manifold.umn.edu/read/metagaming/section/50eda481-7722-4de0-abb8-3bf771d143d0#toc
  2. Click a link on the ToC page, it changes the URL format to e.g. https://manifold.umn.edu/read/c5926868-00c4-45f8-8e91-45cfd9140a87/section/212ed2b3-a2f0-4696-8949-f176553c5bcb#ch07
  3. Start here in a section: https://manifold.umn.edu/read/metagaming/section/212ed2b3-a2f0-4696-8949-f176553c5bcb#ch07
  4. Click the "Two" heading at the top of the page to go to content page. Note the switch to the UUID URL: https://manifold.umn.edu/read/c5926868-00c4-45f8-8e91-45cfd9140a87/section/50eda481-7722-4de0-abb8-3bf771d143d0#toc

Context (Environment)

Two URLs referencing the same content are treated as separate pages by web crawlers adding burden to the crawl and any archived copies. This is an attempt to make web crawls more efficient, smaller, less burdensome on the server. Also, would like to be able to use the slug as a keyword to control crawl scope so that you can automatically crawl all content related to a single publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant