How to define a canonical URL in SPSEOHeaderTagsArticleView and/or SPSEOHeaderTags

Johan van den H
Kilo Sage

A large number of our public knowledge articles are not being indexed by Google Search.
This was shown in the Google Search Console which we recently configured for our portal.

 

The main reason for not indexeing the knowledge articles is "Duplicate without user-selected canonical".
We have not set a Canonical URL for our instance so this might help in getting more of our public knowledge articles to get indexed and thereby findable on Google Search.

 

The ServiceNow documentation (Configure custom SEO tags for canonical URLs and localized knowledge articles) tells us to change the SPSEOHeaderTagsArticleView script it does not clearly tell what we should change to define the Canonical URL.

We also found that there is a option to set to determine if page should use a SEO script, but this seems not specifically for knowledge articles (see ServiceNow documentation: Enable SEO for localized versions of a portal page).
The documentation refers to the SPSEOHeaderTags script.

Can someone help us out what we should change and if the SPSEOHeaderTagsArticleView script is the only thing we need to change?

0 REPLIES 0