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

Johan van den H
Mega 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?

2 REPLIES 2

Johan van den H
Mega Sage

@Ajay_Chavan Thank you for the links. They contain useful information, but I am still looking for a solution to add a "noindex, nofollow" Meta Tag to our non-production instances which does not influence our production instance (as the pages with the added Meta Tags will be deployed on our production instance when other updates go through our DTAP street).