Translate/change/customize Pages titles of Contact Us, Site Maps, and Search Term pages in Magento

Change Magento Title Pages

Magento provides the functionality to manage more than one store. And we can translate the sentences and words in content according to our requirements. But what about the page titles? We can change CMS page titles using magento backend. But for some pages like contact us, site maps and search terms it requires much efforts than normal.

You can translate or customize your page titles in magento by using layout files.

So just follow the following steps:

  1. Go to your theme folder. E.g.;  rootfolder/app/design/frontend/default/mytheme

In this folder you will generally find following three directories.

  1. etc
  2. layout
  3. template
  4. Open layout directory and you will find layout files with .xml extension related to your project. (In case the related files are not there, you can copy that from your base theme folder i.e.; rootfolder/app/design/frontend/base/default/layout/).
  5. Open layout file related to your page, for e.g.;

To translate contact-us page title, use contacts.xml.

If you have little knowledge of magento you will be able to understand the following lines.

<reference name=”head”>

<action method=”setTitle” translate=”title” module=”module-name”><title>Custom Page Title</title></action>


In above code snippet, “module-name” is the module name related to the page.

Custom Page Title” is the page title you wish to decide for the page.

Note: Don’t forget to write the translation in locale folder csv files for the page titles.

You can see above code in its action in following examples:

  1. For Contact Us Page: open contacts.xml and put following code,

<reference name=”head”>

<action method=”setTitle” translate=”title” module=”contacts”><title>Contact Us</title></action>


Under the following line:

<contacts_index_index translate=”label”>

<label>Contact Us Form</label>

2. For Site Maps Page: open catalog.xml and find

<catalog_seo_sitemap translate=”label”>

<label>Catalog Seo Sitemap (Common)</label>

<remove name=”right”/>

<remove name=”left”/>

If you able to find this in catalog.xml then put following lines below above code:

<reference name=”head”>

<action method=”setTitle” translate=”title” module=”catalog”><title>Site Map</title></action>


3. For Search Terms Page: open catalogsearch.xml and find following lines,

<catalogsearch_term_popular translate=”label”>

<label>Popular Search Terms</label>

Place following line of code below it:

<reference name=”head”>

<action method=”setTitle” translate=”title” module=”catalogsearch”><title>Search Terms</title></action>


We hope that this small tip had been of some use for you. Please feel free to comment or share with us your own ways of improving Magento.

Web Developer E-nova Technologies

Related Posts:

Tags: ,

Leave a Reply

CommentLuv Enabled

Notify me of followup comments via e-mail. You can also subscribe without commenting.