Set a noindex & nofollow rule on only our non-production instances

Johan van den H
Kilo Sage

We are currently seeing public knowledge articles from our non-production instances being found by Google Search.
As these public knowledge articles have been written as test articles we do not want them displayed in any internet search engine.

The suggested solution is to add a meta tag containing "noindex, nofollow" to our site homepage.
(Trying to block crawlers by using the robots.txt file is no option as the crawlers have already found our non-production instances)

How can we add a meta tag to our non-production instances and not take this meta tag to our production instance when we make another change to our site homepage and process this change through our DTAP street?

1 REPLY 1

Chavan AP
Tera Guru

Hello @Johan van den H -

Please refer to this article; I’m certain it will resolve your queries. 

 

https://www.servicenow.com/community/csm-blog/easy-steps-to-make-your-portals-seo-friendly/ba-p/2292...

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1224953

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1584541

 

 

Glad I could help! If this solved your issue, please mark it as ✅ Helpful and ✅ Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****