Tuesday, December 14, 2010

Drupal - Add meta tags to front page

Some NGO funders want to see certain meta data on the home page of websites. To add this, go to page.tpl.php and open up the file.

Then, just before you will want to add:

< ? php if ($is_front) : ? >
< meta name="author" content="Mike Jones" / >
< meta name="description" content="Roberth's webomania, little about everything and hopefully with some deep in the topics" / >
< ?php endif; ? >


and voila you have perfect standard meeting meta data!

To show Last Updated on: visit this page http://drupal.org/node/43512 

No comments:

Post a Comment