Enable SEO for localized versions of a portal page
Allow users to discover portal pages in their preferred language by adding hreflang tags.
Avant de commencer
Role required: sp_admin or admin
Procédure
Résultats
Que faire ensuite
You can override the default hreflang tags, add a canonical URL, or add custom header tags by updating the script include that is referenced in the SEO script field. This needs to be set by the page or content author.
To specify a canonical URL for the page, update the
generateCanonicalURL function in the script include.
To specify custom header tags for the page, update the
generateCustomTagsForSEO function in the script include.
For an example of inserting custom SEO tags into the knowledge article view page, see Configure custom SEO tags for canonical URLs and localized knowledge articles.