-
- 1 Posts
Newbie question, Evo 1.0.5:
I need to prevent one page from being indexed by search engines. It appears that the document variable "Searchable" only refers to internal searching.
Will unchecking "show in menu" and avoiding any internal links to this page be enough, or is there a more graceful way to do this? I'd actually prefer to place a link to this page on another page that is indexed.
-
- 147 Posts
Support for meta name="robots" is spotty. Your most reliable method of exclusion is a robots.txt file in your web root.
The general web has detailed information on this. See
http://www.robotstxt.org/. Google has a useful page too:
https://support.google.com/webmasters/answer/156449?rd=1
You can put the robots.txt document inside MODX, setting the content type as "text". If you have complex robot management needs, this may suit your needs. Use Google's checker to test your setup.
[ed. note: shorewalker last edited this post 10 years, 2 months ago.]
David Walker
Principal, Shorewalker DMS
Phone: 03 8899 7790
Mobile: 0407 133 020
-
- 147 Posts
Just be aware that robots.txt is a very public document. One effect of disallowing robots from assets, manager, connectors and core folders will be to clearly and publicly mark your site as a MODX site. And robots aren't going to be a problem in those folders. So I wouldn't bother disallowing them.
David Walker
Principal, Shorewalker DMS
Phone: 03 8899 7790
Mobile: 0407 133 020
Unless the robots.txt file is a resource.