Forums / Basic Configuration / How Do I Change Page Title as "Site Name - Product Title"?

How Do I Change Page Title as "Site Name - Product Title"?

Started by maishane on 7 Feb 2013, 4:31 AM · Views: 1,811

Results 1 to 6 of 6
7 Feb 2013, 4:31 AM
#1
maishane avatar

maishane

New Zenner

Join Date:
Aug 2012
Posts:
21
Plugin Contributions:
0

How Do I Change Page Title as "Site Name - Product Title"?

Hi Experts!

I just realized my zencart site shows the page title as this order: "Product title : Product price - Site name"

It looks weird and I have hard to change the ordering. My preferred one is like "Site Name - Product Title".

Can anyone teach me how to change it?

Many thanks!

-Shane

7 Feb 2013, 5:25 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How Do I Change Page Title as "Site Name - Product Title"?

That order is what the search engines like Google expect
I do not recommend that you alter it

Zen-Venom Get Bitten

7 Feb 2013, 5:50 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How Do I Change Page Title as "Site Name - Product Title"?

You can rewrite your /includes/modules/your-template-folder-name-here/meta_tags.php file to suit your own needs, provided you know enough PHP to accomplish that.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Feb 2013, 3:08 AM
#4
maishane avatar

maishane

New Zenner

Join Date:
Aug 2012
Posts:
21
Plugin Contributions:
0

Re: How Do I Change Page Title as "Site Name - Product Title"?

Thank you for reminding. I maybe I will change it back later. :)

8 Feb 2013, 3:09 AM
#5
maishane avatar

maishane

New Zenner

Join Date:
Aug 2012
Posts:
21
Plugin Contributions:
0

Re: How Do I Change Page Title as "Site Name - Product Title"?

DrByte:

You can rewrite your /includes/modules/your-template-folder-name-here/meta_tags.php file to suit your own needs, provided you know enough PHP to accomplish that.

I got it and modified successfully!!! Thank you very much DrByte!! :cool:

8 Feb 2013, 6:22 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How Do I Change Page Title as "Site Name - Product Title"?

Kobra is right.

Ideally, interior pages (PARTICLARLY PRODUCT PAGES) should have the title as PRODUCT INFO ONLY - product NAME, UPC, Price, Model...

That will be MUCH MORE SUCCESSFUL for "SEO".

For our sites we REMOVE company names from all product pages, because these EXTRA REPEATED WORDS dilute the relevancy of the <title> and weaken the page's ranking potential.

However... if your site competes with any of mine, then PLEASE keep it the way you have changed it... That means one LESS competitor for us on Google :D

20 years a Zencart User