Enable SEO for localized versions of a portal page
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Service Portal Designer
Allow users to discover portal pages in their preferred language by adding hreflang tags.
Before you begin
Role required: sp_admin or admin
Procedure
Result
What to do next
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.
Related Content
- Create and edit a page using the Service Portal Designer
Create or edit a page and use layouts to organize the columns that house the widgets.