Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Meta Tag Installation


scorpio33

Recommended Posts

I just compleated the Meta Tag Installation.

Then i entered the info. into the three Meta Tag Boxes. I clicked on preview and saw a pink line at the top of the page with an error.

 

Warning: No file uploaded.

 

After that i clicked update, then checked the page with view source.

I didn't see any Meta Tag Iformation at the top of the page.

 

This is my first contribution install, everything went well except for the problem above. I am sure my install just needs a small fix.

 

Can anyone tell me what i did wrong, and how to correct it.

 

Thanks

Link to comment
Share on other sites

After you changed the meta tags, you clicked on Preview. Did you then click on Update? Have you gone back to see if the change you made is still there?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Then the problem may be on your catalog side. When you say "I didn't see any Meta Tag Iformation at the top of the page," do you mean that the meta tag line is not there at all, or that it is there but empty? Assuming the latter, go into your includes/languages/english/header_tags.php file and find this code:

define('HEAD_KEY_TAG_ALLPRODS', '');

and enter something into it if it's not there already. Then find this code:

// product_info.php - if left blank in products_description table these values will be used
define('HTTA_PRODUCT_INFO_ON','1'); // will not show HEAD_TITLE_TAG_ALL on product_info.php
define('HTKA_PRODUCT_INFO_ON','1');
define('HTDA_PRODUCT_INFO_ON','1');
define('HEAD_TITLE_TAG_PRODUCT_INFO',' ');
define('HEAD_DESC_TAG_PRODUCT_INFO','');
define('HEAD_KEY_TAG_PRODUCT_INFO','');

and make sure the options are set to 1 as shown. Try refreshing your page. Do you see anything in the meta tag. If not post, a copy of it here along with the above file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Then the problem may be on your catalog side.  When you say "I didn't see any Meta Tag Iformation at the top of the page," do you mean that the meta tag line is not there at all, or that it is there but empty?  Assuming the latter, go into your includes/languages/english/header_tags.php file and find this code:
define('HEAD_KEY_TAG_ALLPRODS', '');

and enter something into it if it's not there already. Then find this code:

// product_info.php - if left blank in products_description table these values will be used
define('HTTA_PRODUCT_INFO_ON','1'); // will not show HEAD_TITLE_TAG_ALL on product_info.php
define('HTKA_PRODUCT_INFO_ON','1');
define('HTDA_PRODUCT_INFO_ON','1');
define('HEAD_TITLE_TAG_PRODUCT_INFO',' ');
define('HEAD_DESC_TAG_PRODUCT_INFO','');
define('HEAD_KEY_TAG_PRODUCT_INFO','');

and make sure the options are set to 1 as shown.  Try refreshing your page. Do you see anything in the meta tag.  If not post, a copy of it here along with the above file.

 

Jack

Thanks i am going to try that now.

This is the only Meta Tag info i saw when i used view source.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Link to comment
Share on other sites

Thanks i am going to try that now.

This is the only Meta Tag info i saw when i used view source.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
[right][snapback]497046[/snapback][/right]
[/quote]
I can't find[CODE]
define('HEAD_KEY_TAG_ALLPRODS', '');
This is my page

 

<?php

// /catalog/includes/languages/english/header_tags.php

// WebMakers.com Added: Header Tags Generator v2.3

// Add META TAGS and Modify TITLE

//

// DEFINITIONS FOR /includes/languages/english/header_tags.php

 

// Define your email address to appear on all pages

define('HEAD_REPLY_TAG_ALL',STORE_OWNER_EMAIL_ADDRESS);

 

// For all pages not defined or left blank, and for products not defined

// These are included unless you set the toggle switch in each section below to OFF ( '0' )

// The HEAD_TITLE_TAG_ALL is included BEFORE the specific one for the page

// The HEAD_DESC_TAG_ALL is included AFTER the specific one for the page

// The HEAD_KEY_TAG_ALL is included AFTER the specific one for the page

define('HEAD_TITLE_TAG_ALL','osCommerce : ');

define('HEAD_DESC_TAG_ALL','osCommerce : What\'s New Here? - Hardware Software DVD Movies');

define('HEAD_KEY_TAG_ALL','Hardware Software DVD Movies What\'s New Here?');

 

// DEFINE TAGS FOR INDIVIDUAL PAGES

 

// index.php

define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title

define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords

define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description

define('HEAD_TITLE_TAG_DEFAULT', '');

define('HEAD_DESC_TAG_DEFAULT','osCommerce : What\'s New Here? - Hardware Software DVD Movies');

define('HEAD_KEY_TAG_DEFAULT','Hardware Software DVD Movies What\'s New Here?');

 

// product_info.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_INFO_ON','1');

define('HTKA_PRODUCT_INFO_ON','1');

define('HTDA_PRODUCT_INFO_ON','1');

define('HEAD_TITLE_TAG_PRODUCT_INFO','');

define('HEAD_DESC_TAG_PRODUCT_INFO','');

define('HEAD_KEY_TAG_PRODUCT_INFO','');

 

// products_new.php - whats_new

define('HTTA_WHATS_NEW_ON','1');

define('HTKA_WHATS_NEW_ON','1');

define('HTDA_WHATS_NEW_ON','1');

define('HEAD_TITLE_TAG_WHATS_NEW','New Products');

define('HEAD_DESC_TAG_WHATS_NEW','I am ON PRODUCTS_NEW as HEAD_DESC_TAG_WHATS_NEW and over ride the HEAD_DESC_TAG_ALL');

define('HEAD_KEY_TAG_WHATS_NEW','I am on PRODUCTS_NEW as HEAD_KEY_TAG_WHATS_NEW and over ride HEAD_KEY_TAG_ALL');

 

// specials.php

// If HEAD_KEY_TAG_SPECIALS is left blank, it will build the keywords from the products_names of all products on special

define('HTTA_SPECIALS_ON','1');

define('HTKA_SPECIALS_ON','1');

define('HTDA_SPECIALS_ON','1');

define('HEAD_TITLE_TAG_SPECIALS','Specials');

define('HEAD_DESC_TAG_SPECIALS','');

define('HEAD_KEY_TAG_SPECIALS','');

 

// product_reviews_info.php and product_reviews.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_REVIEWS_INFO_ON','1');

define('HTKA_PRODUCT_REVIEWS_INFO_ON','1');

define('HTDA_PRODUCT_REVIEWS_INFO_ON','1');

define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO','');

define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO','');

define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO','');

 

?>

Link to comment
Share on other sites

It appears you do not have HTC installed correctly on the catalog side. Did you instlall the changes to all of the files in your catalog directory? Open up one of those files, say index.php, and you should see the following in the head section:

<?php
// BOF: WebMakers.com Changed: Header Tag Controller v1.0
// Replaced by header_tags.php
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
 require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?> 
 <title><?php echo TITLE; ?></title>
<?php
}
// EOF: WebMakers.com Changed: Header Tag Controller v1.0
?>

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...