Results 1 to 10 of 54

Hybrid View

  1. #1
    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

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

    Default Re: Automatic Meta tags generation

    Thanks ! I'll check

  3. #3
    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.

  4. #4
    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.

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

    Default Re: Automatic Meta tags generation

    Sorry, i dont have the answer for the selectors yet since i had other serious trouble, but for the tags i can tell you that Zen does name them

    define('HOME_PAGE_META_DESCRIPTION', ');

    define('HOME_PAGE_META_KEYWORDS'


    However the standard tags exist as you expect, if you go to your site with IE and check View->source.

    Just its so annoying that zen spams the tags with its own generated keywords and possibly makes it difficult for search engines.

    What happens is that for example your tag:

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

    Thats nice, but zen takes that and adds all the product headlines to it, and all the categories. That will bolster it up to double the characters and duplicate some aswell. This is NOT a good thing.


    I also wonder this is not a known problem here and nobody screaming out earlier, since the SEO optimizing is probably the most important thing if you want to sell something...

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

    Default Re: Automatic Meta tags generation

    Refer you back to my post #4 in this thread
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Automatic Meta tags generation

    Admin > Configuration > Product Info

    You have some Meta Tag options that should help.

  8. #8
    Join Date
    Oct 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    I like zen-cart a whole lot.

    I would LOVE zen-cart a whole lot if things like this

    You can edit the selectors in includes/modules/meta_tags.php
    Were editable from the admin. There are so many variables like this that are hard wired into the code. Would be really nice to have this all handled in Admin instead so it was all in one place.

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

    Default Re: Automatic Meta tags generation

    Code:
    // Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
    // replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
    // repeat pattern as necessary
      define('META_TAG_DESCRIPTION_page_name','');
      define('META_TAG_KEYWORDS_PAGE_page_name','');
      define('META_TAG_TITLE_PAGE_page_name', '');
    You can set them per page with this code.

  10. #10
    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

 

 

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