Forums / Templates, Stylesheets, Page Layout / Can I set meta tags on EZ pages?

Can I set meta tags on EZ pages?

Locked

Views: 2,085

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Apr 2010, 11:22 AM
#1
kryspen avatar

kryspen

New Zenner

Join Date:
Feb 2010
Location:
East Anglia
Posts:
52
Plugin Contributions:
0

Can I set meta tags on EZ pages?

Without linking in external pages that you've built yourself.

And if so, how, please?

TIA

Dave Smith
https://www.fernslist.com

14 Apr 2010, 11:29 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Can I set meta tags on EZ pages?

includes/languages/english/meta_tags.php

// EZ-Pages meta-tags.  Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
// If you wish to use defaults for any of the 3 items for a given page, simply do not define it. 
// (ie: the Title tag is best not set, so that site-wide defaults can be used.)
// repeat pattern as necessary
  define('META_TAG_DESCRIPTION_EZPAGE_#','');
  define('META_TAG_KEYWORDS_EZPAGE_#','');
  define('META_TAG_TITLE_EZPAGE_#', '');

After you have made edits to a COPY of this file, it should be saved to:

includes/languages/english/CUSTOM/meta_tags.php

... where CUSTOM is the name of your custom template folder.

20 years a Zencart User

14 Apr 2010, 4:28 PM
#3
craft_adventure avatar

craft_adventure

New Zenner

Join Date:
Apr 2010
Posts:
13
Plugin Contributions:
0

Re: Can I set meta tags on EZ pages?

Hi , another mega tag tip.

Since you are on your meta_tags.php file already (see post above) you might as well work on your Title and Site Tag Line while you are there.. They are at the top of the page on line 11 and 13 or so. Replace the wording to reflect your store. It gives you a nice title to view in your browser web page title tabs. Remember that the little single quotes are really important so type inbetween them.
bye