Forums / General Questions / strip meta tag description

strip meta tag description

Views: 1,390

Results 1 to 9 of 9
10 Jul 2014, 10:58 AM
#1
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

strip meta tag description

bing say me that meta description is too long: is it possible to strip the meta description for whole site (without adding description for single product into admin zencart)?

10 Jul 2014, 12:47 PM
#2
kobra avatar

kobra

Black Belt

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

Re: strip meta tag description

Post a link to your site

Zen-Venom Get Bitten

11 Jul 2014, 4:15 AM
#4
kobra avatar

kobra

Black Belt

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

Re: strip meta tag description

This is what you have for meta description on home page

100asa.it :  - Buoni Regalo, Barcode, Informatica, Telefonia, Consumabile, Stampa-Taglio, Videosorveglianza e sicurezza, Audio-Video, POS, Arredamento, Accessori, Soluzioni card, Cancelleria, Eliminacode, Controllo accessi, Prezzatrici, Outlet,

This is what you have for meta description on your linked page

Il telefono Yealink T28 è un dispositivo Enterprise ricco di funzionalità, un'interfaccia user friendly, supporto fino a 6 account SIP. E' dotato di tasti a LED per funzionalità di BLF ed ha 16 tasti funzione programmabili dall'utente. Offre inoltre il supporto al codec audio HD G.722 per comunicazioni ad alta qualità.   Caratteristiche tecniche:   
Supporto 

I do not know what it says but Try shortening these descriptions

Zen-Venom Get Bitten

11 Jul 2014, 6:15 AM
#5
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: strip meta tag description

This is my question: how can I change the meta description for home page?
how can I shorten the meta description for my product page? (obviously without writing meta description one by one products)

11 Jul 2014, 6:24 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: strip meta tag description

100asa:

This is my question: how can I change the meta description for home page?
/includes/languages/YOUR_LANGUAGE/meta_tags.php contains defines for that:```
// Home Page Only:
define('HOME_PAGE_META_DESCRIPTION', '');
define('HOME_PAGE_META_KEYWORDS', '');

// NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
define('HOME_PAGE_TITLE', ''); // usually best left blank

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

14 Jul 2014, 1:09 PM
#8
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: strip meta tag description

DrByte:

/includes/languages/YOUR_LANGUAGE/meta_tags.php contains defines for that:```
// Home Page Only:
define('HOME_PAGE_META_DESCRIPTION', '');
define('HOME_PAGE_META_KEYWORDS', '');

// NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
define('HOME_PAGE_TITLE', ''); // usually best left blank


ok, but I would only shorten the meta description...
14 Jul 2014, 10:00 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: strip meta tag description

Alright. Feel free to rewrite /includes/modules/meta_tags.php to generate a different description. Just be mindful that making big changes to that file could negatively hurt your SEO, instead of improving it.

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