
When an admin enables hide from search engines, it modifies the robots.txt for that subdomain/domain. This is incorrect as the page can still appear in search results if other pages link to it.
Remove the robots.txt rule and instead use a meta tag or a response header as outlined in the documentation:
https://developers.google.com/search/docs/crawling-indexing/block-indexing


@Amit from Nolt if possible, please provide the option to do either noindex or robots.txt. There are cases where you want to do one or the other.
https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget
https://www.reddit.com/r/SEO/comments/ycxae5/comment/itqhf3v