Thread: meta keywords

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1

    Default meta keywords

    i need to change my meta keywords, Right now all of my products combine and make the first keyword. The keyword is all my products in one long long sentence. Can someone help me learn how to get rid of my products being displayed as a keyword?

  2. #2
    Join Date
    Apr 2008
    Location
    Brisbane, Australia
    Posts
    8
    Plugin Contributions
    0

    Default Re: meta keywords

    Not quite sure what you mean, but this may help.

    go to includes / languages / english and down the list click on meta_tags.php

    Then inside the file find:

    / page title
    define('TITLE', 'Zen Cart');

    // Site Tagline
    define('SITE_TAGLINE', 'Powered by Zen cart');

    // Custom Keywords
    define('CUSTOM_KEYWORDS', ' CHANGE THESE WORDS HERE USING A , TO SEPARATE THE WORDS');

    Then save.

  3. #3

    Default Re: meta keywords

    thanks for the reply, i figured this out the other day, i had my keywords in custom keywords, when i really needed it on homepage keywords

  4. #4
    Join Date
    Apr 2008
    Location
    Noblesville, IN
    Posts
    7
    Plugin Contributions
    0

    Default Re: meta keywords

    I'm having a similar problem with my main page meta keywords. When I look at the page source from my main page in my meta keywords line I am getting my Category names all listed in front of my custom keywords.

    Here is a shortened shot:
    <meta name="keywords" content="Graphic Novel Shelf Used Book Case Ephemera File Comic Book Longbox Magazine Rack Magazine Ads Box Music Bin used books, back issue magazines,(then the rest of my custom keywords).

    I want to be able to NOT show from Graphic Novel Shelf to Music Bin in that string. Those are the names of my Categories and somehow are put in by Zen at the beginning so that string looks like one big long keyword because there are no commas to separate the category titles.

    When I go to the file includes/languages/english/meta_tags.php my Custom Keywords are fine and the way I want them to be. The added 'category title keywords' aren't showing in that file so that I COULD at least put a comma between them.

    So where do I go to fix those or make them not show at all?

    http://www.aturnedpage.com

    Thanks for any help...

  5. #5
    Join Date
    Apr 2008
    Location
    Noblesville, IN
    Posts
    7
    Plugin Contributions
    0

    Default Re: meta keywords

    Bump..

    Hoping to get some help with this one.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: meta keywords

    Quote Originally Posted by aturnedpage View Post
    When I go to the file includes/languages/english/meta_tags.php my Custom Keywords are fine and the way I want them to be. The added 'category title keywords' aren't showing in that file so that I COULD at least put a comma between them.
    You can tell Zen Cart to use commas for separators by adding the comma in your meta_tags.php language file in this section:
    Code:
    // Define divider ... usually just a space or a comma plus a space
      define('METATAGS_DIVIDER', ' ');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Apr 2008
    Location
    Noblesville, IN
    Posts
    7
    Plugin Contributions
    0

    Default Re: meta keywords

    Thank you Dr. Byte.

    My meta_tag.php file already reads like this:

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

    So it looks like it already should be providing a comma between those categories that are being placed in front of my custom keywords as additional keywords.

    Should I have this meta_tag.php file in my Custom Template too?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: meta keywords

    I quoted the default setup, which puts spaces, not commas.
    If you want the divider to be a comma, change the space to a comma and a space, as per the instructions.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jan 2008
    Posts
    94
    Plugin Contributions
    0

    Default Re: meta keywords

    How do I get rid of the first comma in the Title Tag? (between the title and site tagline? I would like it to be a dash like this page we are looking at on the forum.

    Also, is it better to have All this information in the Title tag and leave Tagline blank (for search engines)? Zen Cart is the first time I have seen a tagline tag.

    Kevin
    www.PosterExpo.com

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: meta keywords

    You can alter the other dividers as desired by editing them in the same file:
    Code:
    // 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', ', ');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changes to home page meta description and meta keywords from admin area?
    By nic678dog in forum Customization from the Admin
    Replies: 4
    Last Post: 24 Mar 2011, 10:10 PM
  2. Meta keywords are also being used for meta description across entire site
    By bowerstech in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Mar 2010, 11:26 PM
  3. Replies: 2
    Last Post: 10 Mar 2010, 06:45 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