Forums / Addon Language Packs / meta data not populating to search engines, via meta_tags.php or biohazard symbol

meta data not populating to search engines, via meta_tags.php or biohazard symbol

Started by sjdeines on 10 Dec 2013, 4:14 AM · Views: 8,399

Results 1 to 5 of 5
10 Dec 2013, 4:14 AM
#1
sjdeines avatar

sjdeines

New Zenner

Join Date:
Apr 2012
Posts:
37
Plugin Contributions:
1

meta data not populating to search engines, via meta_tags.php or biohazard symbol

I have the German and Spanish language packs installed on zencart 1.50 and I know that the keywords, etc. are not populating to search engines from each of my products or categories that are customized by using the biohazard symbol, respectively. Also I see that the file meta_tags.php in each of my language directories share the same date and time stamp from several months ago.

What are the steps to repair this situation?

My site is https://AmateurRadioStore.com

Content of all three language meta_tags.php to follow:

Content of the English directories meta_tags.php is;

<?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', 'Amateur Ham Radio Store for HF, VHF, & UHF Communications products'); // Site Tagline define('SITE_TAGLINE', 'Established in 2005'); // Custom Keywords define('CUSTOM_KEYWORDS', 'Amateur Radio Store, ham radio, J-Pole Antenna, J Pole, Jpole, Portable Beam, Alpha, Chameleon, LDG, Opek, auto tuner, military, UHF, VHF, HF, antenna, amateur, radio, Tarheel, ATAS-120A, Buddipole, Buddipole, outbacker, Screwdriver'); // Home Page Only: define('HOME_PAGE_META_DESCRIPTION', 'Amateur Ham Radio Store for HF, VHF, & UHF Communications products'); define('HOME_PAGE_META_KEYWORDS', 'Amateur Ham Radio Store, J-Pole Antenna, J Pole, Jpole, Portable Beam, Alpha, Chameleon, LDG, Opek, auto tuner, military, UHF, VHF, HF, antenna, amateur, ham, radio, Tarheel, ATAS-120A, Buddipole, Buddipole, outbacker, Screwdriver'); // 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check'); // favicon setting // There is usually NO need to enable this unless you need to specify a path and/or a different filename // define('FAVICON','favicon.ico'); ?>

Content of German meta_tags.php;

<?php /** * @package languageDefines * @copyright Copyright 2003-2012 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 619 2011-09-19 19:48:28Z webchills $ */ // page title define('TITLE', 'Zen-Cart 1.5'); // Site Tagline define('SITE_TAGLINE', 'deutsche Version'); // 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', 'Bewertungen: '); // 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check'); // 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'); Content of Spanish meta_tags.php; <?php //Spanish Language Pack for Zen Cart 1.5: <http://zencartspanish.svn.sourceforge.net/viewvc/zencartspanish/> /** * @package languageDefines * @copyright Copyright 2003-2011 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 18697 2011-05-04 14:35:20Z wilt $ */ // page title define('TITLE', '¡Zen Cart!'); // Site Tagline define('SITE_TAGLINE', 'El Arte de E-Comercio'); // Custom Keywords - are added globally in addition to page-specific tags define('CUSTOM_KEYWORDS', 'ecomercio, código abierto, tienda, compras online'); // 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', 'Comentarios: '); // 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check,shopping_cart'); // favicon setting // There is usually NO need to enable this unless you need to specify a path and/or a different filename // define('FAVICON','favicon.ico');
10 Dec 2013, 12:24 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: meta data not populating to search engines, via meta_tags.php or biohazard symbol

sjdeines:

I have the German and Spanish language packs installed on zencart 1.50 and I know that the keywords, etc. are not populating to search engines from each of my products or categories that are customized by using the biohazard symbol, respectively. Also I see that the file meta_tags.php in each of my language directories share the same date and time stamp from several months ago.

What are the steps to repair this situation?

My site is
https://AmateurRadioStore com

Content of all three language meta_tags.php to follow:

Content of the English directories meta_tags.php is;

<?php /** * @package languageDefines * @copyright Copyright 2003-2008 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0 * @version $Id: meta_tags.php 10330 2008-10-10 20:14:32Z drbyte $ */ // page title define('TITLE', 'Amateur Ham Radio Store for HF, VHF, & UHF Communications products'); // Site Tagline define('SITE_TAGLINE', 'Established in 2005'); // Custom Keywords define('CUSTOM_KEYWORDS', 'Amateur Radio Store, ham radio, J-Pole Antenna, J Pole, Jpole, Portable Beam, Alpha, Chameleon, LDG, Opek, auto tuner, military, UHF, VHF, HF, antenna, amateur, radio, Tarheel, ATAS-120A, Buddipole, Buddipole, outbacker, Screwdriver'); // Home Page Only: define('HOME_PAGE_META_DESCRIPTION', 'Amateur Ham Radio Store for HF, VHF, & UHF Communications products'); define('HOME_PAGE_META_KEYWORDS', 'Amateur Ham Radio Store, J-Pole Antenna, J Pole, Jpole, Portable Beam, Alpha, Chameleon, LDG, Opek, auto tuner, military, UHF, VHF, HF, antenna, amateur, ham, radio, Tarheel, ATAS-120A, Buddipole, Buddipole, outbacker, Screwdriver'); // 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check'); // favicon setting // There is usually NO need to enable this unless you need to specify a path and/or a different filename // define('FAVICON','favicon.ico'); ?>
> 
> Content of German meta_tags.php;
> 
> ```
<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2012 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
 * @version $Id: meta_tags.php 619 2011-09-19 19:48:28Z webchills $
 */

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

// Site Tagline
define('SITE_TAGLINE', 'deutsche Version');

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

// 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');


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

Content of Spanish meta_tags.php;

<?php //Spanish Language Pack for Zen Cart 1.5: [url]http://zencartspanish.svn.sourceforge.net/viewvc/zencartspanish/[/url] /** * @package languageDefines * @copyright Copyright 2003-2011 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0 * @version $Id: meta_tags.php 18697 2011-05-04 14:35:20Z wilt $ */ // page title define('TITLE', '¡Zen Cart!'); // Site Tagline define('SITE_TAGLINE', 'El Arte de E-Comercio'); // Custom Keywords - are added globally in addition to page-specific tags define('CUSTOM_KEYWORDS', 'ecomercio, código abierto, tienda, compras online'); // 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', 'Comentarios: '); // 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,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check,shopping_cart'); // favicon setting // There is usually NO need to enable this unless you need to specify a path and/or a different filename // define('FAVICON','favicon.ico'); ``` Not 100% sure I understand what you mean by products customized with the biohazard symbol. The only symbol I have seen in the above code (and didn't see anything obvious on the website in any of the languages) is the hash or pound symbol '#'. Regarding your lack of meta information, well, there is no meta data provided for german or spanish in the above files. Also, and I don't recall how the file is supposed to end, but both the german and spanish ffiles as provided do not end with ?> While the english does. At least one of the files is wrong in that regard.

You can do a visual (or text) comparison and see that there is a lot of data provided in the english version that is notprovided in the other two. Just look at the various defines. Also, if the hash symbol is really in the file and not just something for display on this website, that will have an effect also as the variable needed (without the hash) will not be available when called upon in the language of choice. There is no reason to define the variable in this way, unlessu can explain why it would be so renamed.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 Dec 2013, 12:50 PM
#3
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: meta data not populating to search engines, via meta_tags.php or biohazard symbol

mc12345678:

Regarding your lack of meta information, well, there is no meta data provided for german or spanish in the above files. Also, and I don't recall how the file is supposed to end, but both the german and spanish ffiles as provided do not end with ?> While the english does. At least one of the files is wrong in that regard.

Both are OK. You do not need to close the php tag at the end of the file.

10 Dec 2013, 3:20 PM
#4
sjdeines avatar

sjdeines

New Zenner

Join Date:
Apr 2012
Posts:
37
Plugin Contributions:
1

Re: meta data not populating to search engines, via meta_tags.php or biohazard symbol

In the ZenCart control panel under Admin > Catalogs > Products there is a Biohazard symbol beside and to the right of each Category, SubCategory, and Product. It is this Custom Meta Data that is not populating to search engines. What would keep this meta data from being used by search engines? FYI - I waited three months before posting this, just to be sure the information wasn't being used by search engines.

10 Dec 2013, 5:20 PM
#5
sjdeines avatar

sjdeines

New Zenner

Join Date:
Apr 2012
Posts:
37
Plugin Contributions:
1

Re: meta data not populating to search engines, via meta_tags.php or biohazard symbol

sjdeines:

In the ZenCart control panel under Admin > Catalogs > Products there is a Biohazard symbol beside and to the right of each Category, SubCategory, and Product. It is this Custom Meta Data that is not populating to search engines. What would keep this meta data from being used by search engines? FYI - I waited three months before posting this, just to be sure the information wasn't being used by search engines.

Might the above be happening because I have too many words in the meta_tags.php file on the line below //Custom Keywords?