Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2008
    Posts
    207
    Plugin Contributions
    0

    Default Meta Tags - Site Description

    My site description is the same as the site title but I want the two to be completely different.

    I have read the various threads on here and followed instructions to define the description for my home page ony.

    I've gone into includes/languages/english/mysite/ meta-tags ............and defined MY IMPORTANT HOMEPAGE DESCRIPTION 'blah blah blah etc etc.etc.

    then I copied includes/module/meta-tags.php and created includes/modules/mysite/meta-tags

    After this in includes/modules/mysite/metatags I typed the wording define META TAG DESCRIPTION MY IMPORTANT DESCRIPTION etc etc.


    I have double checked everything but when I look at the page source for my site in the browser, the site description and title still remain the same despite the changes I have made.

    Any suggestions?
    Please keep this simple as I am way behind many of you technically.
    Thanks

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

    Default Re: Meta Tags - Site Description

    In your includes/languages/english/mysite/ meta-tags.php file find the KEYWORDS areas and enter a comma seperated list of keywords for your site - Your description is different but I think you have that already

    Code:
    // Custom Keywords
    
    define('CUSTOM_KEYWORDS', 'model cars, model airplanes');
    
    
    
    // Home Page Only:
    
      define('HOME_PAGE_META_DESCRIPTION', 'MODELING REMOTE CONTROL SLOT CAR ROCKETS PAINTBALL GIFTS AND TOYS model cars, model airplanes');
    
      define('HOME_PAGE_META_KEYWORDS', 'model cars, model airplanes, hobby center, hobby supply, rc car, rc boat, rc heli, hobby store, hobby stores, hobby shop, rc helicopters, rc planes, rc airplane, hobby supplies, rc boats, rc hobby, rc airplanes, rc helicopter, rc plane, r/c, rc, mail order');

  3. #3
    Join Date
    Feb 2008
    Posts
    207
    Plugin Contributions
    0

    Default Re: Meta Tags - Site Description

    Hi Kobra,

    thanks for this.......just want to make sure before I mess anything up. The info from where you refer to is as follows - can you please highlight exactly what wording I need to put where.....thanks.

    Incidentally.....thanks so much for all your help......I just couldn't have got this far on my own.....thank you!!


    <?php
    define('MY_IMPORTANT_HOME_PAGE_DESCRIPTION', 'An enchanting boutique packed with gorgeous childrens clothes and fancy dress costumes for special occasions, parties, birthdays, weddings, Christmas, Halloween......or simply to have fun');
    /**
    * @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', 'Fairytale Fashions - Childrens Clothes and Fancy Dress Costumes');

    // Site Tagline
    define('SITE_TAGLINE', 'An enchanting boutique packed with gorgeous childrens clothes and fancy dress costumes for special occasions, parties, birthdays, weddings, Christmas, Halloween......or simply to have fun!');

    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'Childrens Fancy Dress, Kids Fancy Dress, Childrens Dressing Up, Kids Dressing Up, Animal Fancy Dress, Kids Designer Wear, Kids Designer Clothes, Childrens Designer Clothes, Childrens Designer Wear, Fairy Dresses, Kids Skirts, Teenwear, Kids Clothes Online, Childrens Clothes Online, Ballerina Dresses, Nativity Costumes, Nursery Rhyme Costumes, Story Telling Costumes, World Book Day Costumes, Halloween Costumes, Kids Halloween Costumes, Bridesmaid Dresses, Flower Girl Dresses, T-shirts for Children, Childrens Disney Costumes, Kids Disney Costumes,');

    // 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');

    ?>

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

    Default Re: Meta Tags - Site Description

    What version of Zen Cart are you using?

    Looking at the file date you posted it does not appear that it is from 1.3.8a

    This is from the current version
    Code:
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: meta_tags.php 6668 2007-08-16 10:05:09Z drbyte $
    And where did this come from ??

    MY_IMPORTANT_HOME_PAGE_DESCRIPTION

  5. #5
    Join Date
    Feb 2008
    Posts
    207
    Plugin Contributions
    0

    Default Re: Meta Tags - Site Description

    Kobra,

    I am using 1.3.7.

    The wording you refer to I found in a previous thread.....where Dr Byte had instructed someone how to get the page title and description correct on the home page using version 1.3.7.

    Although I have tried what he suggests I think that I have gone wrong somewhere because as I said viewing page source shows that both the title and desciption are still the same.

    any suggestions?

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

    Default Re: Meta Tags - Site Description

    I will have to look back at 1.3.7 for what is default for meta_tags.php and get back to you....

    This is race day!!!! INDY 500

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

    Default Re: Meta Tags - Site Description

    I am still really struggling with this.

    I think I must be nearly there but would appreciate any further help.

    Thanks

  8. #8
    Join Date
    Sep 2007
    Posts
    116
    Plugin Contributions
    0

    Default Re: Meta Tags - Site Description

    Quote Originally Posted by karenkte View Post
    I am still really struggling with this.

    I think I must be nearly there but would appreciate any further help.

    Thanks
    includes/modules/meta-tags.php
    also
    In your includes/languages/english/meta-tags.php
    Last edited by lizar5-; 28 May 2008 at 11:06 PM.

 

 

Similar Threads

  1. v139h How do I change basic meta tags such as page title and description and meta keywords
    By robertwebsite in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2012, 08:38 AM
  2. Replies: 1
    Last Post: 27 Nov 2008, 02:27 PM
  3. Manufacturers description, meta tags & keywords
    By higherselfgifts in forum General Questions
    Replies: 2
    Last Post: 26 Aug 2008, 07:15 AM

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