B-219 Sec-55 Noida, India
+918010221733

Change the page tittle in Magento

There are some ways for you to change the page title in Magento. Today, Magento Tutorial will introduce you some of the easiest ways:

1) CMS page: Go to backend and open CMS > Manage Pages. Select page to edit and you can set title in ‘Page Title’ field.

2) In frontend and any module, you can use xml file to set new title for your page. The syntax is:

    <reference name=“header”>
    <action method=“setTitle” translate=“title”><title>Your new page title</title></action>
    <reference>
    </reference></reference>

3) If it does not work, now you should look at your block php file. You might easily find this line:

    $this->getLayout()->getBlock(‘head’)->setTitle($title);

Change the $title to what you want.

(Visited 38 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.