Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1
    Join Date
    Jul 2006
    Posts
    34
    Plugin Contributions
    0

    Default meta tags keywords & description are the same

    My meta tags keywords & description are the same on my homepage. I tried to find where this is but am having no luck. Check the source here http://www.machomanjack.com/store
    =======================
    Ed
    http://www.machomanjack.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: meta tags keywords & description are the same

    They are exactly as the code works... built dynamically from your categories and custom content.... and change according to which page/product/category you're viewing.

    What exactly were you wanting it to do? and what did you want on other pages?
    .

    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.

  3. #3
    Join Date
    Jul 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    It seems all other pages are ok except the homepage (index) I want the description to be the description - not keywords.
    =======================
    Ed
    http://www.machomanjack.com

  4. #4
    Join Date
    Jul 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    Anybody know about this? Im trying to submit to search engines and sites - but I have now correct description. Is there a fix for this?

    Ed
    =======================
    Ed
    http://www.machomanjack.com

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: meta tags keywords & description are the same

    1. open your /includes/languages/english/YOURTEMPLATE/meta_tags.php

    2. add a new line anywhere between the <?php and the closing ?> which says:
    PHP Code:
    define('MY_IMPORTANT_HOME_PAGE_DESCRIPTION''blah blah blah blah'); 
    (substituting blah blah blah with your preferred home-page-only description, naturally)

    3. edit /includes/modules/YOURTEMPLATE/meta_tags.php
    around line 138 you have:
    PHP Code:
          define('META_TAG_DESCRIPTION'TITLE PRIMARY_SECTION str_replace(array("'",'"'),'',strip_tags(HEADING_TITLE)) . SECONDARY_SECTION KEYWORDS); 
    change that to:
    PHP Code:
          define('META_TAG_DESCRIPTION'MY_IMPORTANT_HOME_PAGE_DESCRIPTION); 
    4. Submit to search engines and watch closely
    .

    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.

  6. #6
    Join Date
    Jul 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    Thank you very much!! Tat did the trick.
    =======================
    Ed
    http://www.machomanjack.com

  7. #7
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    Worked perfectly - now- can I do something similar for the main page keywords???

    Thanx!
    Last edited by DesignbyDemeter; 18 Jul 2006 at 02:47 PM.

  8. #8
    Join Date
    Jul 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    Ok... that fixed my problem... well sort of.. the description part worked but the most of the keywords are selected by ZEN... whatever I put in the catorgory menu will show up at keywords... I can add them myself but ZEN just adds them to the end of the ones it put in itself... makes sense ??

    Have a look at my site exampe but in this search http://www.submitexpress.com/ go to META TAG ANALIZE and type in my page . www.timeoutmassage.com.au/zen and look at the Keywords... most of them are the menus and MY keywords are added on the end....
    I want to add ALL keywords... do not want ZEN to do it for me..

    Ta
    Dave

  9. #9
    Join Date
    Jul 2006
    Posts
    87
    Plugin Contributions
    0

    Re: meta tags keywords & description are the same

    Evening all, can anyone help?

    I dont have the metatags.php in includes/modules/mytemplate. I also dont have it in includes/modules/classic.

    Any ideas on this? Need to edit my site desciption which displays on google. Have amended it in languages/english/mytemplate/metatags but cant get the 2nd part of the above solution sorted.

    Any info greatly appreciated!

    Many thanks

  10. #10
    Join Date
    Aug 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: meta tags keywords & description are the same

    Quote Originally Posted by ryangsoton
    Evening all, can anyone help?

    I dont have the metatags.php in includes/modules/mytemplate. I also dont have it in includes/modules/classic.

    Any ideas on this? Need to edit my site desciption which displays on google. Have amended it in languages/english/mytemplate/metatags but cant get the 2nd part of the above solution sorted.

    Any info greatly appreciated!

    Many thanks
    I think this is what you want to do:

    Copy it from /includes/modules/meta_tags.php and then create /includes/modules/YOURTEMPLATE/ and upload the modified meta_tags.php file there.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. 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
  2. Manufacturers description, meta tags & keywords
    By higherselfgifts in forum General Questions
    Replies: 2
    Last Post: 26 Aug 2008, 07:15 AM
  3. Meta Tags & Keywords
    By zzzoom in forum General Questions
    Replies: 4
    Last Post: 5 Mar 2008, 05:35 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