---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# SEO for canonical URLs and localized versions of knowledge articles

# SEO for canonical URLs and localized versions of knowledge articles {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of SEO for canonical URLs and localized versions of knowledge articles

This feature enhances the search engine optimization (SEO) of knowledge articles in ServiceNow by automatically adding canonical URLs and hreflang tags.
These tags improve searchability and help search engines correctly index both the default and translated versions of knowledge articles.
Show full answer Show less  

## Key Features

* **Use SEO script option:** Administrators can enable SEO tags by selecting the *Use SEO script* checkbox on the Knowledge Article View \[kbarticleview\] page record.
* **Canonical URLs:** When enabled, canonical URLs are added to the article view page, ensuring search engines recognize the primary version of each article. The URL format includes the instance name and article number.
* **Hreflang tags:** Tags for translated versions of knowledge articles are included on the article view page, indicating alternate language versions to search engines. A self-referencing hreflang tag is also added for the current article's language.
* **Script includes:** ServiceNow uses specific script includes to implement these SEO tags:
  * **SPSEOHeaderTagsSNC:** Default, read-only implementation for Service Portal pages.
  * **SPSEOHeaderTags:** Extends and allows overriding the default implementation.
  * **SPSEOHeaderTagsArticleViewSNC:** Read-only override specific to the knowledge article view page.
  * **SPSEOHeaderTagsArticleView:** Extends the article view override to allow customization.

## Practical Application for ServiceNow Customers

By enabling the Use SEO script option, administrators can ensure that knowledge articles and their localized versions are properly indexed and ranked by search engines. This improves article discoverability and supports multi-language content management. For further customization, administrators can update the *SPSEOHeaderTagsArticleView* script include to add custom SEO tags tailored to organizational needs.  
Improve the searchability of knowledge articles by adding tags for canonical URLs and
hreflang tags for translated knowledge articles.

You can add the default tags for canonical URLs and hreflang tags by
selecting the Use SEO script check box on the Knowledge Article View
\[kb_article_view\] page record. For more information, see [Enable SEO for canonical URLs and
localized versions of a portal page](https://www.servicenow.com/docs/access?context=seo-sp&version=brazil&pubname=brazil-platform-user-interface&ft:locale=en-US).

When the Use SEO script option is selected:

* The canonical URLs for a knowledge article are added to the knowledge article view page.Example canonical URL: https://\<instance name\>.servicenow-com/csp?id=kb_article_view\&sysparm_article=\<article number\>

* The hreflang tags for the translated versions of a knowledge article are added to the knowledge article view page.

  Example URL with an
  hreflang tag: \<link rel="alternate" href="https://\<instance name\>.servicenow-com/csp/fr?id=kb_article_view\&sysparm_article=\<article number\>" hreflang="fr"/\>  
  Note:  
  A self-referencing hreflang URL is also added for the language of current knowledge article.

  For example, an English
  knowledge article is viewed by visiting a URL with the following
  format:

  https://\<instance name\>.servicenow-com/csp/?id=kb_article_view\&sys_kb_id=\<sys_id\>

  In
  addition to the hreflang tags added for translations, the English
  language self-referencing hreflang tag is
  added:

  \<link rel="alternate" href="https://\<instance name\>.servicenow-com/csp/?id=kb_article_view\&sys_kb_id=\<sys_id\>" hreflang="en"/\>

{#seo-knowledge__ul_cy1_gvf_dmb}

## Script includes for canonical URLs and hreflang tags {#seo-knowledge__section_hyt_fv2_dmb}

By default, the knowledge article view page uses the
SPSEOHeaderTagsArticleViewSNC script include to add the SEO tags for
canonical URLs and hreflang tags.  
The following table describes the script includes for adding canonical URLs and hreflang tags to Service Portal pages, including the knowledge article view page. {#seo-knowledge__table_pl2_qc2_dmb__entry__2}

| Script include | Description |
|-|-|
| SPSEOHeaderTagsSNC | Includes the default implementation for the canonical URLs and hreflang tags for Service Portal pages. This script include is read-only. For more information, see [Enable SEO for canonical URLs and localized versions of a portal page](https://www.servicenow.com/docs/access?context=seo-sp&version=brazil&pubname=brazil-platform-user-interface&ft:locale=en-US). |
| SPSEOHeaderTags | Facilitates overriding the default implementation in the SPSEOHeaderTagsSNC script include for Service Portal pages. The SPSEOHeaderTags script include extends the  SPSEOHeaderTagsSNC script include. |
|  SPSEOHeaderTagsArticleViewSNC | Overrides the generateHrefLangArray and generateCanonicalURL functions for the knowledge article view page configured in the SPSEOHeaderTags script include. The SPSEOHeaderTagsArticleViewSNC script include is read-only and extends the   SPSEOHeaderTags script include. |
| SPSEOHeaderTagsArticleView | Facilitates overriding the default implementation in the SPSEOHeaderTagsArticleViewSNC script include for the knowledge article view page. The SPSEOHeaderTagsArticleView extends the  SPSEOHeaderTagsArticleViewSNC script include. |
[Table 1. Script includes for canonical URLs and hreflang tags]

{#seo-knowledge__table_pl2_qc2_dmb}

As an administrator, you can add canonical URLs, hreflang tags, and
any custom headers for knowledge articles by updating the
SPSEOHeaderTagsArticleView script include. For more information, see
[Configure custom SEO tags for canonical URLs and localized knowledge articles](https://www.servicenow.com/docs/_cW_dJOkRRFhsaYguufxGQ "Discover relevant knowledge articles through search engines by adding custom SEO tags for canonical URLs and hreflang tags to the knowledge article view page.").

