Forums / Templates, Stylesheets, Page Layout / Catagories in meta data - no comma?

Catagories in meta data - no comma?

Locked

Views: 927

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Nov 2007, 2:22 PM
#1
jimcc avatar

jimcc

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Catagories in meta data - no comma?

I am very new to Zen Cart, however I was viewing the source to my home page, and noticed that in the meta key words section it has the catagories names in. This is something that I thought would be helpful, however there is on "," between the names. This is what I get:
<meta name="keywords" content="Adhesives Embellishments Flower Soft Paper....

I don't know much about how meta data is read (im still learning) however I am sure that it is supposed to read <meta name="keywords" content="Adhesives, Embellishments, Flower Soft Paper, ..... etc etc

If someone could tell me what has gone wrong, and where to look in fixing this, I will be very grateful. I did do some digging around here, but there is so many different questions RE meta data I just can't find it.

Thanks.
James.

2 Nov 2007, 4:44 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Catagories in meta data - no comma?

If you prefer to have the automated list of keywords separated by a comma instead of a space, simply change the setting in your /includes/languages/english/YOURTEMPLATE/meta_tags.php file:```
// Define divider ... usually just a space or a comma plus a space
define('METATAGS_DIVIDER', ' ');

.
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.

2 Nov 2007, 8:31 PM
#3
jimcc avatar

jimcc

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Re: Catagories in meta data - no comma?

I double checked this, and It is already set like this. however I still have no comma between the key words.

2 Nov 2007, 8:58 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Catagories in meta data - no comma?

Ahem :blink: ... I meant to CHANGE it to put a comma in if you WANT a comma ... like this:

// Define divider ... usually just a space or a comma plus a space
  define('METATAGS_DIVIDER', '[B],[/B] ');

.
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.

2 Nov 2007, 10:08 PM
#5
jimcc avatar

jimcc

New Zenner

Join Date:
Sep 2007
Posts:
9
Plugin Contributions:
0

Re: Catagories in meta data - no comma?

Oh,
Thanks for this. It worked. I really appreciate it.