Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By anavarre on
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
Sorry. As of today I couldn't
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
Thank you for the quick
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.
Drupal tags to meta keywords tag?
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:
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/