How can I add meta tags to Service Portal pages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2017 09:59 AM
The Content Management plugin allows adding meta tags to cms sites and pages. How can I do this for Service Portal pages? I would like to use this to allow search engine crawlers to know more about what the page is for. It would also make it possible for me to verify ownership of our portal for the google search console and other developer tools.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2018 10:48 AM
Hi folks,
The ability to add meta tags to service portal pages was made available in Kingston. Here's the link to the product documentation. We used this functionality as part of our new on-platform Community site!
Something I am sure you will have considered is making sure you have appropriate robots.txt definitions and/or IP Access controls on your sub-production environments to make sure that only production content is crawled and indexed by search engines.
Hope the link is helpful for you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2018 12:32 PM
I'm running into Google fetching and rendering issues as well. Alex is right, you will need to adjust the robots.txt. The Service Portal renders the pages dynamically, via JavaScript, so you will need to give the crawler access to all the scripts required to load the page. This is my robots.txt file:
User-agent: *
Disallow: *
Allow: /sp*
Allow: /api/now/sp*
Allow: /scripts*
Allow: /styles*
Allow: /api/now/sp*
Make sure you change the /sp* line to the correct path for your portal(s). Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 11:43 AM
How do you EDIT the robots.txt page? There doesn't seem to be any documentation as to how to change/access the default. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2018 02:51 PM
Hi Bill,
Robots.txt is part of the "Custom Search Integration" plugin. With that plugin enabled, you can manage the default robots.txt page.
https://docs.servicenow.com/bundle/kingston-platform-administration/page/administer/search-administration/task/t_BlockARobotFromYourSite.html
