Skip to content

Add support for canonical URLs #45

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

Open
bmorelli25 opened this issue Sep 25, 2024 · 0 comments
Open

Add support for canonical URLs #45

bmorelli25 opened this issue Sep 25, 2024 · 0 comments
Labels

Comments

@bmorelli25
Copy link
Member

Summary

We need to add the ability to add canonical URLs to the v3 doc build:

  • current should always be the source of truth.
  • previous versions should automatically set the current version of a page, if it exists, as canonical
  • writers should be able to override the default in the frontmatter of a page

From @KOTungseth

I just met with our website team (Leah and Casey) to discuss canonical URLs. For context, one of the recommendations that came out of the Botify audit was to implement canonical tags, which will help to consolidate page authority.
Back in 2022, Greg implemented canonicals in our Asciidoc system (elastic/docs#2357). We do have canonicals on some areas of the Docs (https://github.com/elastic/apm-server/edit/7.15/docs/guide/overview.asciidoc), but the Asciidoc build no longer picks them up, so canonicals do not exist according to the HTML output.

@bmorelli25 bmorelli25 transferred this issue from another repository Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants