You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application should automatically add the meta canonical element to all pages
Background
Site engine renders the same content on URLs with or without trailing slash I.e. developer.enonic.com/docs and developer.enonic.com/docs/. By convention, Enonic's API generate links without trailing slash, which is implicitly also the default format for Enonic URLs.
In cases where multiple variants of links exist, adding canonical information to pages will eliminate duplicate indexes and optimize SEO
Requirements
Metafields should add the canonical tag on all pages, however, when the page ends with /, the canonical link should point to the URL without /.
Example:
NOTE: The described handling is already correctly implemented and rendered for the og:url element
NOTE: If the rendered page is not a content item, behavior should be similar as for the og:url element
App config
In the "General" section, add a new checkbox - hide canonical (default is not checked)
Once set, Metafields app must not set the canonical tag
Content config
In the content SEO form, change the "Canonical" label to "Override canonical"
Guillotine
The Headless extension implements a canonical field that contains null, or a content item.
Add new field for the hide canonical general config (like other hide fields).
The text was updated successfully, but these errors were encountered:
sigdestad
changed the title
Add canonical to pages
Add canonical to all pages
Jan 10, 2025
Application should automatically add the meta canonical element to all pages
Background
Site engine renders the same content on URLs with or without trailing slash I.e. developer.enonic.com/docs and developer.enonic.com/docs/. By convention, Enonic's API generate links without trailing slash, which is implicitly also the default format for Enonic URLs.
In cases where multiple variants of links exist, adding canonical information to pages will eliminate duplicate indexes and optimize SEO
Requirements
Metafields should add the canonical tag on all pages, however, when the page ends with /, the canonical link should point to the URL without /.
Example:
NOTE: The described handling is already correctly implemented and rendered for the og:url element
NOTE: If the rendered page is not a content item, behavior should be similar as for the og:url element
App config
In the "General" section, add a new checkbox - hide canonical (default is not checked)
Once set, Metafields app must not set the canonical tag
Content config
Guillotine
The Headless extension implements a canonical field that contains null, or a content item.
Add new field for the hide canonical general config (like other hide fields).
The text was updated successfully, but these errors were encountered: