Search Engine: Elastic

Article ID: 131776, created on Nov 15, 2017, last review on Nov 15, 2017

  • Applies to:
  • Operations Automation


What are the options to prevent indexing of branding site deployed in Odin Automation?


You may put robots.txt file to the root folder of branding webspace. From version 7 of OAP you may find it on the branding node in /var/www/brands/. For version 6 a branding webspace may be located on a web hosting server.

In .htaccess file located in the same webspace folder find the line:

RewriteEngine on

Then place following line right after it:

RewriteRule ^robots.txt$ robots.txt [L]

Please note, that directive above should be added exact after RewriteEngine declaration. Otherwise these changes will be ignored. Also, this customization will be reverted upon applying any changed to brand via PCP.

Apache should be reloaded to immediately apply changes. Use the following command:

service httpd reload

Robots.txt content example:

User-agent: *
Disallow: /

You may learn more about robots.txt at

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF