Hello. I am turning my site into an app. I don’t want it to be found by people who search it. The place that converts my site into an app said I could keep the site from being searchable by adding the meta tag robots /no index / no follow
I added a Hook Element and put the following into wp_head:
<meta name=”robots” content=”noindex”> and checked Execute Shortcodes and Execute PHP. For Display Rules I chose “Entire Site”. Did I do this correctly?
Is this enough? I read that instead of a meta tag (maybe in addition to a meta tag?) I could “return an X-Robots-Tag header with a value of either noindex or non in my response.” I don’t know how to do this.