0

I am using Meta tags(Module: Metatag) on my Article content type page. I want to set specific Meta Tag values depending on Article type I select for example by default check some check box for robots.

Does this possible in Drupal 7. If yes please give sample code for doing the same.

2

You don't need any code for that, that Metatag module has that functionality built into it

These 2 listed features could apply to your use case specifically:

  • Per entity and per entity bundle to control default meta tags for all items of a certain type, e.g. all nodes of a certain content type.
  • Ability to override meta tags on each entity object, e.g. to override meta tags on an individual node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.