I know how to block a whole folder from being indexed via robots.txt but not the relative path… and for the subdomain I figure I would just forward it to the domain or handle removing it from google via webmaster tools.
replacing “/path/with-trailing-slash/” with “/websitename” it would prevent indexing of that path and any content in that folder but still allow the main domain to be indexed? Like I said, I want to prevent the relative path form being indexed but ensure the domain and all relate dpages/content are still being indexed properly.
Hey @KProServices can you please show me an example of where you’re seeing the relative path being indexed? When we prevent subdomains from being indexed, it prevents the full subdomain and all of it’s content from being indexed. You may need to perform an Un-Publish & fresh Publish of your site to resolve this. (may take a few days for web-crawlers to catch up)
Please let me know if this solves the issue, if not, I’m happy to help further