Skip to content

Magento : Assign Title, Meta Description & Meta Keywords via XML

just found the way how to do this..haha

<yourmodule_controller>
<reference name=”head”>
<action method=”setTitle”><title>The Title Here</title></action>

<action method=”setDescription”><title>The Description here, make sure no line break</title></action>

<action method=”setKeywords”><title>same like description, no line break</title></action>

</reference>
</yourmodule_controller>

Share

Be First to Comment

Leave a Reply

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