Results 1 to 10 of 10

Hybrid View

  1. #1

    Default Remove Store Name from <meta name="description" content=

    Hi,

    The new Zen Cart generated pages of my website are now being indexed by the search engines but I have noticed that when displayed in the list of search engine results, my store name appears at the beginning of every page description.

    If I navigate to an individual product and view the page source in my browser, my store’s name is being automatically added to the beginning of the description meta tag as follows:

    <meta name="description" content=”>Shop name automatically added here< >Product description here<" />

    I’d be very grateful for any suggestions on how to remove my store’s name from the beginning of this meta tag. (I’m using version v1.3.9h)

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

    Default Re: Remove Store Name from <meta name="description" content=

    You must have added it as a domain name somewhere

    Use the devekopers tool kit to find where

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

  3. #3

    Default Re: Remove Store Name from <meta name="description" content=

    My store’s name is FGEShop. Before making this post I used the Developers Tool Kit to search ‘FGEShop’ and the only occurrence of ‘FGEShop’ I can find is in:

    includes/languages/english/meta_tags.php

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

    Default Re: Remove Store Name from <meta name="description" content=

    Post title
    Remove Store Name from <meta name="description" content=
    My store’s name is FGEShop. Before making this post I used the Developers Tool Kit to search ‘FGEShop’ and the only occurrence of ‘FGEShop’ I can find is in:

    includes/languages/english/meta_tags.php
    Well, Post what you have for that here
    Zen-Venom Get Bitten

  5. #5

    Default Re: Remove Store Name from <meta name="description" content=

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2008 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 10330 2008-10-10 20:14:32Z drbyte $
    */

    // page title
    define('TITLE', 'FGEShop');

    // Site Tagline
    define('SITE_TAGLINE', 'Buy Garage Equipment & Tools Online');

    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');

    // Home Page Only:
    define('HOME_PAGE_META_DESCRIPTION', '');
    define('HOME_PAGE_META_KEYWORDS', '');

    // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
    define('HOME_PAGE_TITLE', ''); // usually best left blank


    // EZ-Pages meta-tags. Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
    // If you wish to use defaults for any of the 3 items for a given page, simply do not define it.
    // (ie: the Title tag is best not set, so that site-wide defaults can be used.)
    // repeat pattern as necessary
    define('META_TAG_DESCRIPTION_EZPAGE_#','');
    define('META_TAG_KEYWORDS_EZPAGE_#','');
    define('META_TAG_TITLE_EZPAGE_#', '');

    // 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_name','');
    define('META_TAG_TITLE_page_name', '');

    // 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,inf o_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_che ck');


    // favicon setting
    // There is usually NO need to enable this unless you need to specify a path and/or a different filename
    define('FAVICON','fges.ico');

    ?>

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

    Default Re: Remove Store Name from <meta name="description" content=

    // page title
    define('TITLE', 'FGEShop');
    What is included or how these are assembled for pages is in
    /includes/modules/meta_tags.php

    So you can create a copy in a folder named for your template there and edit where you do not want it

    Look for where the constant named "TITLE" is called
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 11
    Last Post: 16 Mar 2012, 09:43 AM
  2. Replies: 1
    Last Post: 21 Jul 2010, 07:36 PM
  3. meta name="description" same as meta name="keywords"
    By jekka75 in forum General Questions
    Replies: 1
    Last Post: 22 Jul 2009, 02:41 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