DOC-3497 - Fix self-referencing canonical URLs via page-aliases on v8#4126
Open
kemister85 wants to merge 1 commit intotinymce/8from
Open
DOC-3497 - Fix self-referencing canonical URLs via page-aliases on v8#4126kemister85 wants to merge 1 commit intotinymce/8from
kemister85 wants to merge 1 commit intotinymce/8from
Conversation
Add page-aliases to 14 v8 pages that were renamed from v5/v6, allowing Antora to resolve the correct canonical URL for older versions.
This was referenced Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
DOC-3497 / TINY-14151
Site
Inspect this page
Notice it points to
<link rel="canonical" href="https://www.tiny.cloud/docs/tinymce/latest/react-cloud/">which is expected.then inspect this 5/react notice it now points to
<link rel="canonical" href="https://www.tiny.cloud/docs/tinymce/latest/react-cloud/">and not<link rel="canonical" href="https://www.tiny.cloud/docs/tinymce/5/react/">Changes
Adds
:page-aliases:to 14 pages on thetinymce/8branch to claim the old page IDs from v5/v6. This allows Antora to resolve the correct canonical URL for older versions that were renamed or restructured in v6+.Without these aliases, Antora cannot match the old page IDs to their v8 equivalents and falls back to self-referencing canonicals — causing Google to treat legacy pages as authoritative.
Framework integrations (8 pages):
react-cloud.adocclaimsreact.adocvue-cloud.adocclaimsvue.adocsvelte-cloud.adocclaimssvelte.adocwebcomponent-cloud.adocclaimswebcomponent.adocrails-cloud.adocclaimsrails.adocdjango-cloud.adocclaimsdjango.adocbootstrap-cloud.adocclaimsbootstrap.adoclaravel-tiny-cloud.adocclaimslaravel.adocPlugin/feature pages (6 pages):
copy-and-paste.adocclaimspaste.adoccloud-quick-start.adocclaimsquick-start.adocspelling.adocclaimsspellchecker.adocnon-editable-content-options.adocclaimsnoneditable.adocadvanced-templates.adocclaimstemplate.adocexportpdf.adocclaimsexport.adocEach change is a single
:page-aliases:line addition; no content changes.Note: The canonical fix requires a full multi-version build (v5 + v6 + v8) to verify — single-branch staging previews will show self-referencing canonicals regardless. Verify on production after merge by checking the
<link rel="canonical">tag on e.g./docs/tinymce/5/react/.Replaces: #4118 (v5) and #4119 (v6) — the
page-aliasesapproach on v8 fixes canonicals for all older versions from a single branch.Ref: Antora canonical URL docs