Remove the Store View from the Magento Meta Title Tag

Having problems with the word ” – English” showing up on all your meta titles? Here’s the solution:

Open the following file:

/app/design/frontend/your_interface/your_theme/template/page/html/head.phtml

Change:

[code]<title><?php echo $this->getTitle() ?></title>[/code]

To:

[code]<title><?php echo str_replace(” – English “, “”, $this->getTitle()) ?></title>[/code]

Don’t forget to change “English” to the name of your store view, if you’ve changed it!

Also watch out, my blog turns quotes into typographers quotes (slanted ” symbols). You might need replace them.

All credit goes to mischah on the Magento forums.

Leave a Reply

Next ArticleEdit the Magento Invoice PDF Templates