Robots.txt not disallowing based on “Search engine visibility” setting
-
Hi, I’ve got a website that’s not ready to be live yet, but is on a public address. I’ve got the “Search engine visibility” setting in WordPress ticked to “Discourage search engines from indexing this site” (in Settings > Reading) which up until recently has meant the robots.txt has this entry in it:
User-agent: *
Disallow: /But having had someone find the site through search, I’ve discovered currently robots.txt is set as this:
START YOAST BLOCK —————————
User-agent: *
Disallow:
(Taking out the sitemap line to keep the site private)Even though the WP setting is definitely still on “discourage.” I looked up how to set it within Yoast, and their help page says to set the WP setting that I have done.
Does anyone know if there’s a new place to set this? I’m using the latest Yoast, just triggered the update this morning. I could set it in code as well if that’s the only way to get it working.
Thanks
The topic ‘Robots.txt not disallowing based on “Search engine visibility” setting’ is closed to new replies.