Cayce Cookbook - Page Template

Cloak Elements or a Full Website from being Indexed


This measure can be used for many purposes of discretion, but also to safeguard aginst predatory attorneys making money off unsuspecting people who might be harmlessly using public domain images, audio, etc.

Two quick & easy methods:

Drop this into the header of every page:
<meta name="robots" content="noindex,nofollow"/>

Put this in an .htaccess file on the server:
Header set X-Robots-Tag "noindex, nofollow"

Resources

A collection of robots.txt disallow functions

https://yoast.com/prevent-site-being-indexed/

https://yoast.com/x-robots-tag-play/

https://yoast.com/articles/robots-meta-tags/