Skip to content

Metatags save as PageProperties (i.e. robots) #262

Description

@juergmessmer

My suggestion, or attempt:

  1. 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".

  1. 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 :-)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions