If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / How to change the manufacture SEO Title, Tags, and descritpion

How to change the manufacture SEO Title, Tags, and descritpion

Started by jodean on 22 Dec 2013, 3:56 PM · Views: 1,276

Results 1 to 6 of 6
22 Dec 2013, 3:56 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #1 by jodean

I am getting errors such as invald characters in my manufacture title tags as well as title tag length errors. I cannot find any place where I can control the manufacture SEO tags like in products.

I have the same problem with Category tags.

22 Dec 2013, 9:52 PM
#2
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #2 by picandnix

jodean:

I am getting errors such as invald characters in my manufacture title tags as well as title tag length errors. I cannot find any place where I can control the manufacture SEO tags like in products.

I have the same problem with Category tags.

Do you mean you are using HTML or special characters as part of your category name/description?

23 Dec 2013, 2:54 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #3 by jodean

Manufacture pages load the title, keywords, and description from somewhere. I do not see any place where I can control the SEO tags for a manufacture. I see that you can control the SEO tags for a product but cannot whind any way to control the tags for Manufactur, EZ-Pages, etc

Below is an example of what the source looks like with notes added.

<title>Hareline : Tennessee Traditional Flies</title> ": is an invalid character"

<meta name="keywords" content="Hareline Tying Material Fly Tying Tools Leaders Miscellaneous TTF Custom Leaders Flies Tippet Floatants Tools Accessories Fly Boxes Maintenance Classes Entomology Supplies Fly Tying Recipes Fly Rods Reels and Accessories Fly Lines ecommerce, open source, shop, online shopping" /> "Have no idea where Zen Cart is getting this information"

<meta name="description" content="Tennessee Traditional Flies : Hareline - Tying Material Fly Tying Tools Leaders Miscellaneous TTF Custom Leaders Flies Tippet Floatants Tools Accessories Fly Boxes Maintenance Classes Entomology Supplies Fly Tying Recipes Fly Rods Reels and Accessories Fly Lines ecommerce, open source, shop, online shopping" /> "Have no idea where Zen Cart is getting this information this creates a description larger that 155 characters"

23 Dec 2013, 4:21 PM
#4
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #4 by picandnix

Do you have a link to your store please?

30 Sep 2014, 1:28 PM
#5
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #5 by jodean

Here is the site address.

tennesseetraditionalflies.com

30 Sep 2014, 4:16 PM
#6
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #6 by lhungil

Zen Cart (by default) includes code to automatically apply certain words to the title and keywords. This is known as the Common Site-Wide meta tags.

To change the site-wide title, tagline, and keywords:

  1. Copy "/includes/languages/english/meta_tags.php" to "/includes/languages/english/YOUR_TEMPLATE_NAME/meta_tags.php"
  2. For title tags, modify TITLE and SITE_TAGLINE
  3. For keywords, modify CUSTOM_KEYWORDS (set to '' to append none)

One can also alter in the above file the meta tags used for the home page, EZ-Pages, and specific Zen Cart "pages" (where main_page != index). For example to change the meta tags used on the "privacy page" one defines:

  define('META_TAG_DESCRIPTION_privacy','Content to be displayed as the meta description');
  define('META_TAG_KEYWORDS_privacy','Content to be displayed as the meta keywords');
  define('META_TAG_TITLE_privacy', 'Content to be displayed as the title');

Category and Product meta tags can be fully controlled in the Zen Cart admin (see the note below). Unless "custom" tags are defined using the Zen Cart admin, a default will be applied + the site-wide settings.

Editing the manufacturer descriptions (default is TITLE + MFG NAME + KEYWORDS) or removing the default KEYWORDS (top level category names) is a bit more complicated and would require creation of an "observer" or "overriding" a core Zen Cart file. Most of the time I've seen this done with creation of an additional database table to store the MFG meta keywords and descriptions, entering the data into the database, creating an "override" of the site-wide "meta-tag" module, and modifying the "override" file to pull MFG information from the new database table (with fallback when no data is available).

NOTE: How do I set up metatags? can be referenced for some more information on setting up meta tags for categories and products. This article also has nice pretty images explaining the process for categories.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker