0item(s)

You have no items in your shopping cart.

Product was successfully added to your shopping cart.

Override Suffix and Prefix on Magento

Override Suffix and Prefix on Magento

Sometime you have a magento store where you included all of your perfect suffixes or prefixes. Usually it goes something like this:
STORE NAME – PAGE TITLE for Prefix or PAGE TITLE – STORE NAME for Suffix.

However when you finish adding those components you will notice that they are actually added to absolutely all of your pages. Since your Home Page will usually contain the name of your store and you will need it for much more targeted Title Tag it is pretty smart to eliminate any suffix and prefix from the home page.

How you will achieve that is pretty simple and straight forward. You will provide a custom payout command that will overwrite current automatic home page title. So here are the steps:

Go to CMS – PAGES – and open your HOME PAGE.
Click on DESIGN.
Under “Layout Update XML” enter this code:

<reference name=”head”>
<action method=”setData”><key>title</key><value>My Home Page Title</value></action>
</reference>

Make sure you replace “My Home Page Title” with the title you want for your page.

Also make sure you let your marketing team know where to make the changes.

Topic: Magento 1

Category: Magento 1 Help

Comments