Hello,

As far as I can tell , there's no meta keywords nor meta description tags provided by Drupal 7. For instance, when I open examiner.com source code (D7 website), I can see that they've added these tags.

The only way to add them seems to be a manuel override of the html.tpl.php file or to hack common.inc file. The second one isn't recommanded so I'd like to know how you handle these tags in D7 ?

Thank you

Comments

Haarek’s picture

Sorry. As of today I couldn't find any good solution to meta tags for D7, but you could take a look at Meta tags quick which seems to be a temporary solution while the sequel to the D6-module Nodewords, Meta tags, are being developed for D7. I hope it works out for you :)

- Haarek

anavarre’s picture

Thank you for the quick reply.

I learned about the Meta tags project from the Nodewords page but unfortunately, there were no update since october.

Thank you for the Meta tags quick info, I didn't know this one.

Charles Belov’s picture

It would seem to me the most automatable solution would be to edit the appropriate .tpl.php file to write out the node's Drupal taxonomy tags for the node into meta keyword format, which would appear at first glance to be something like:

<meta type="keywords" content="<?php
if ($terms): print $terms; endif;
?>">

I haven't tested this That's not quite there, as the commas have to be added in between each keyword, but I'd expect its a start.

Charles Belov
SFMTA Webmaster
http://www.sfmta.com/