: If you'd like Google to not list certian URLs on your site, add them to robots.txt in the root of your site. Example robots.txt: User-agent: * Disallow: /donotindex/ Note that this is not
If you'd like Google to not list certian URLs on your site, add them to robots.txt in the root of your site.
Example robots.txt:
User-agent: *
Disallow: /donotindex/
Note that this is not secure, you're just "asking" Google to not index/list them. Google will comply with this request. However, sophisticated users and some poorly-behaved crawlers will use or list the URLs regardless.
If you need to hide the content you'll need to put it behind a login page (which crawlers can't use) or change your content based on the client (browser's) user-agent. I believe the latter is specifically disallowed by Google and they may punish your site for doing go.
More posts by @Shakeerah822
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.