Page 1 of 2 12 LastLast
Results 1 to 10 of 54

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    15
    Plugin Contributions
    0

    help question Automatic Meta tags generation

    Greetings,

    this is killing me. Zen cart automatically puts the categories, the product names inside the meta description and keywords. So when i edit the meta_tags.php somwhere at includes/languages i can only add some info to 'Title' otherwise it will all duplicate and bloat up the lines to 500 letters or more with lots of repetitive keywords.

    The tag 'site tagline' seems useless since zen cart puts this in the title anyway and that will blow it up beyond acceptable text number.

    the tag 'custom keyword': i cannot use anything here because Zen will spam it full with his generated keywords and i cannot switch that off. When i check with some tags checker i have 570 letters there but there should be only 200 max. 570 letters, thats just the tags zen generates on this..

    So is there any guide on this? or should i just enter nothing except the title in the meta_tags.php? should i just leave it as it is but it seems the zen tag generation spams the whole tags and will not be good to use with seo and google ranking.. ??

    any input or experience on this highly appreciated.

    thanks
    Mike

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Automatic Meta tags generation

    What have you defined to allow ZC to bloat this up to +500 characters?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    I have around 20 categries with few products in each, so the zen carts puts the categories and the products in the meta tags, thats what makes it so much text..

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Automatic Meta tags generation

    You can edit the selectors in includes/modules/meta_tags.php
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    Thanks ! I'll check

  6. #6
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    how do you change the selectors to stop them from doing this?

    I have a similar problem,I have a huge list of keywords and a huge site description (basically all my categories)

    I want to remove that and to just be able to manually enter my own keywords and my own site description.

  7. #7
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    btw I'm using 1.3.7

    and I don't have the following in my includes\language\english\metatags...

    define('HOME_PAGE_META_DESCRIPTION', ');

    define('HOME_PAGE_META_KEYWORDS'

    I know other people just edit those two lines and it appears to work for them but they don't exist for poor me *sob*

    in fact this is my entire file:

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $
    */

    // page title
    define('TITLE', 'Gothic Magic');

    // Site Tagline
    define('SITE_TAGLINE', 'Pagan, Wiccan, New Age - shop');

    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'Pagan, Wiccan, New Age, Gothic, shop, Jewellery, Reiki, Spells');


    // Review Page can have a lead in:
    define('META_TAGS_REVIEW', 'Reviews: ');

    // separators for meta tag definitions
    // Define Primary Section Output
    define('PRIMARY_SECTION', ' : ');

    // Define Secondary Section Output
    define('SECONDARY_SECTION', ' - ');

    // Define Tertiary Section Output
    define('TERTIARY_SECTION', ', ');

    // Define divider ... usually just a space or a comma plus a space
    define('METATAGS_DIVIDER', ' ');

    // Define which pages to tell robots/spiders not to index
    // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched.
    define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit, account_history,account_history_info,account_newsletters,account_notifications,a ccount_password,address_book,advanced_search,advanced_search_result,checkout_suc cess,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,c ookie_usage,create_account_success,contact_us,download,download_timeout,customer s_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe');


    // favicon setting
    // There is usually NO need to enable this unless you wish to specify a path and/or a different filename
    // define('FAVICON','favicon.ico');

    ?>
    Last edited by Badvoc; 27 Jun 2008 at 05:40 PM.

  8. #8
    Join Date
    Nov 2007
    Posts
    162
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    Quote Originally Posted by kobra View Post
    You can edit the selectors in includes/modules/meta_tags.php
    I have no idea WHICH part of the meta_tags.php file to edit or what I should edit it to be.

    Any help would be very much appreciated.


    Thank you.

    Zencart ROCKS!
    www.ZenCrystals.com
    www.CraftMagick.com
    Magickal & Metaphysical supplies/services

  9. #9
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Automatic Meta tags generation

    meta_tags.php
    1.3.7

    i WANTED TO REMOVE THE AUTO CATEGORY ADDINS ON THE PAGES, SO I FOUND THE FIRST ONE OF THESE:

    else {
    define('META_TAG_TITLE', str_replace('"','',$category_metatags->fields['categories_name'] . PRIMARY_SECTION . TITLE . TAGLINE));
    define('META_TAG_DESCRIPTION', str_replace('"','',TITLE . PRIMARY_SECTION . $category_metatags->fields['categories_name'] . SECONDARY_SECTION . KEYWORDS));
    define('META_TAG_KEYWORDS', str_replace('"','',KEYWORDS . METATAGS_DIVIDER . $category_metatags->fields['categories_name']));
    } // EOF

    REMOVING ' . KEYWORDS' FROM THE 'META_TAG_DESCRIPTION’ REMOVED THE CATEGORY ADDINS AND THE KEY WORDS FROM THE PAGE HTML meta tag description

    but I wanted to leave in the key words in and just remove the category addins, I got stuck finding where to remove the category addins so I placed the keywords into the meta_tags.php in quotes

  10. #10
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    vandiermen, so did you kill th automatic generation and it only adds the keywords you add from meta_tags.php? Do products still have the product info in the meta tag?

    Does anyone think this will cause an issue with duplicate content if all the meta tags for your site are the same?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Automatic Random Code Generation for a product?
    By Rick5150 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 10 Jun 2013, 09:40 PM
  2. 1st discount coupon automatic generation ?
    By hubert in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 21 Nov 2008, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg