My suggestion, or attempt:
-
Add metatag name "robots" to template that includes head, and replace pageProperty as follows:
<meta name="robots" content="{{pageProperty=meta_robots;defaultValue=index}}" />
<meta name="googlebot" content="{{pageProperty=meta_robots;defaultValue=index}}" />
This works as soon as I manually enter a page_properties row with the page_id, the name "meta_robots" and the value "noindex".
- In page admin the page property meta_robots is shown, but without value, but with the info default index next to the form field.
Finally I found out, that this is already possible.
- no name spaces allowed like "meta.robots".
- different meta tags need their own property name and db entry (even if the value stored is - most probably - the same :-)
My suggestion, or attempt:
Add metatag name "robots" to template that includes head, and replace pageProperty as follows:
This works as soon as I manually enter a page_properties row with the page_id, the name "meta_robots" and the value "noindex".
Finally I found out, that this is already possible.