I am currently looking at the SEO of our site, and I will be using schema.org microdata in the head and 'rich snippets', as well as including facebook opengraph data. What is the best way to include this information in the header, extract it from the content etc. Are there any moduls that can help out with this task? Are there any best practices?
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
|
|
You can use Drupal hooks and functions like
You could also call drupal_add_html_head from other API hooks such as hook_node_view, hook_ctools_render_alter, hook_init etc.. e.g:
|
|||
|
|