Modifying Page Title, Keywords and Description

Posted by: twmeier

Tagged in: SEO , Joomla

Modifying the page title, keywords and description for a page created by a component  in Joomla is very simple.

Inside your component, add the following:

<?php
global $mainframe;
$mainframe->SetPageTitle("Some Page Title");
$mainframe->appendMetaTag( "description", "Some Description.");
$mainframe->appendMetaTag( "keywords", "keyword1, keyword2");
?>

It is that simple.