Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 54
  1. #11
    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.

  2. #12
    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.

  3. #13
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    Hmm, my site seems unresponsive to the changes I make in admin>configuration>product info regarding meta tags. I set the maximum generated words to 0 but it still spams it full. Interesting.

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

  5. #15
    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

  6. #16
    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?

  7. #17
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Automatic Meta tags generation

    Yes killed the automatic generation
    and yes products have the product info but they also have all the key words (I think they should but dont know)
    the site is http://www.gotanyblacker.com.au/

    I would just try if its your last resort, you can always undo it

  8. #18
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Automatic Meta tags generation

    I'm just clarifying here.

    You still have a huge string of meta keywords. Did you put those in on purpose from the meta_tags.php?

    I would like it to automatically generate about 10 keywords, or not generate any at all and I'll set custom keywords for each page.

    I just realized that you're 1.3.7, and that's why your meta_tags.php doesn't look like mine.

    Thanks anyway

  9. #19
    Join Date
    Jun 2008
    Posts
    15
    Plugin Contributions
    0

    Idea or Suggestion Re: Automatic Meta tags generation

    Hi, i found the solutions was posted here before:


    http://www.zen-cart.com/forum/showthread.php?t=69667

    you have to include 2 code additions to the file html_header.php and that will fix the automatic output in "meta name keywords" and "meta name description" on the index page.

    after that define meta tags for every other site, that will eliminate the automatic generation on these sites aswell. After that youre ready for #1 google, just hire 50 bulgarians to get you 2000 backlinks from spam boards..


  10. #20
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Automatic Meta tags generation

    Quote Originally Posted by Qwert302 View Post
    I'm just clarifying here.

    You still have a huge string of meta keywords. Did you put those in on purpose from the meta_tags.php?
    I put those in on purpose

    define('META_TAG_DESCRIPTION', str_replace('"','',TITLE . PRIMARY_SECTION . $category_metatags->fields['categories_name'] . SECONDARY_SECTION . 'emo, fetish, punk, gothic, goth, rockabilly, lolita, alternative, industrial, boots, shoes, accessories, handbags, bags, fingerless gloves, skeleton gloves, umbrellas, ............, International Postage'));

 

 
Page 2 of 6 FirstFirst 1234 ... 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