Main menu
WalkswithMeJoomlaHow to set meta data of a page in Joomla

3 thoughts on “How to set meta data of a page in Joomla

  1. There is another part when you want to add any property to meta tag as:

    $document->setMetaData('title', "Your meta title");

    will do-

    but there are cases(as in open graph, when you want to add property like –

    For this you can use –

    $document->setMetaData('og:type', 'website', 'property');,

    or

    $type='';
    $document->addCustomTag($type);

Leave a Reply

Your email address will not be published. Required fields are marked *

 

FacebookTwitterGoogle+RSS