Forums / General Questions / custom meta tags for defined pages

custom meta tags for defined pages

Locked

Views: 1,032

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Jul 2010, 3:56 AM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

custom meta tags for defined pages

where do you set custom meta tag info for defined pages (title, keywords, description, etc)?

thanks

12 Jul 2010, 11:57 PM
#2
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: custom meta tags for defined pages

FYI: the extra PAGE in the 2 examples was preventing the info from displaying. Remove it. Thanks Linda. :-)

define('META_TAG_DESCRIPTION_page_name','');
define('META_TAG_KEYWORDS_PAGE_page_name','');
define('META_TAG_TITLE_PAGE_page_name', '');

13 Jul 2010, 1:54 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: custom meta tags for defined pages

I was wondering where you managed to get that lost look when customizing ... thanks for the update ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Jul 2010, 11:34 AM
#4
jharradine avatar

jharradine

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: custom meta tags for defined pages

Hi guys, I've edited individual page override as shown below. Can you spot the mistake, because the tags are still the default and the override isn't working...?

thanks

btw LEATHERMAN_TOOL is the end of the URL, as this is my keyword i'm using it for des, title n keyword too.

define('META_TAG_DESCRIPTION_LEATHERMAN_TOOL','Leatherman Tool');
define('META_TAG_KEYWORDS_PAGE_LEATHERMAN_TOOL','leatherman tool');
define('META_TAG_TITLE_PAGE_LEATHERMAN_TOOL', 'Leatherman Tool');

Joe

<a href="http://mymultitools.co.uk">My Multi Tools</a>

13 Jul 2010, 1:32 PM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: custom meta tags for defined pages

jharradine:

Hi guys, I've edited individual page override as shown below. Can you spot the mistake, because the tags are still the default and the override isn't working...?

thanks

btw LEATHERMAN_TOOL is the end of the URL, as this is my keyword i'm using it for des, title n keyword too.

define('META_TAG_DESCRIPTION_LEATHERMAN_TOOL','Leatherman Tool');
define('META_TAG_KEYWORDS_PAGE_LEATHERMAN_TOOL','leatherman tool');
define('META_TAG_TITLE_PAGE_LEATHERMAN_TOOL', 'Leatherman Tool');

Joe

remove the highlighted portions

define('META_TAG_DESCRIPTION_LEATHERMAN_TOOL','Leatherman Tool');
define('META_TAG_KEYWORDS**_PAGE_LEATHERMAN_TOOL','leatherman tool');
define('META_TAG_TITLE
_PAGE**_LEATHERMAN_TOOL', 'Leatherman Tool');

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Jul 2010, 4:00 PM
#6
jharradine avatar

jharradine

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: custom meta tags for defined pages

excellent works perfectly thank-you:laugh:

<a href="http://mymultitools.co.uk">My Multi Tools</a>