Understanding Your Zen Cart meta_tags.php Language File
In a previous post, I discussed how to add custom meta tags for your products and categories, Read Post.
Recently, when adding custom meta tags for products I noticed that the custom tags I entered at the product level were followed by the custom tags I had set in the meta_tags.php language file and this created a VERY long list of keywords. As you know, google and other search engines will penalize you for keyword spam if you have too many keywords.
To show only the keywords you set at the product or category level, download the file:
includes/languages/english/meta_tags.php
OR
includes/languages/english/YOUR_CUSTOM_TEMPLATE/meta_tags.php (if the file has already been modified)
Open the file and remove all keywords in the following define:
// Custom Keywords
define(’CUSTOM_KEYWORDS’, ”);
Upload the file to: includes/languages/english/YOUR_CUSTOM_TEMPLATE/
Now, any products or categories that have meta tags defined in the admin section of your web site will use ONLY those tag definitions and you will no longer be keyword spamming.
