Create a file under /etc/apache2/conf-enabled with following content
Header Set X-Robots-Tag “noindex, nofollow, noarchive, nosnippet”
Check your config with wget –server-response –spider example.com
Create a file under /etc/apache2/conf-enabled with following content
Header Set X-Robots-Tag “noindex, nofollow, noarchive, nosnippet”
Check your config with wget –server-response –spider example.com