chrometweaks.org

Can somebody recommend a reliable free iPage web host in malaysia?

Click Here To View All Answers...


Question I have... Can somebody recommend a reliable free iPage web host in malaysia? Thanks in advance for any answer or 2. My other question... I noticed that product reviews have no unique page titile that matches the product being viewed in reviews. Google is always crawling the reviews section, and it could help the ranking dramatically if thier was a unique title and meta tag for every product being viewed in this sections. How can this be done..

Cheers..

Comments (32)

Yes sir! but you might wanna make sure and wait for another commenter to confirm it as I am on the fence. Better yet, why don't you contact the iPage guys because they can assist you better...

Comment #1

I have the header tag controller installed. It doesn't do the job. The reviews section have the main index title. When you click on the product that you want to read reviews on, you still see the main index title and no the actual product title...

Comment #2

Do you have a title set for reviews in includes/languages/english/header_tags.php? If you do, it will override the products description so you will never see it..

Jack..

Comment #3

I have the Dynamic Product Meta Tags Contribution installed. I don't have the Meta tag controller installed. How are the 2 contributions different. I thought they did the same job...

Comment #4

OH, above you said you had HTC installed. No matter though. The difference is that Dynamic Product just changes the tags for products. It is fine for what it does. You can think of it as a subset of HTC. The reason for doing all of this is to help with the SE's.

HTC does..

Jack..

Comment #5

Ok great, so having the dynamic product meta tag installed, how can I have a unique title for every product in the reviews section. like if the product was sony stereo let's say, I want the title to show sony strereo reviews as a title. or just ony stereo (matching the header).

Cheers,..

Comment #6

You can't since Dynamic Meta Tags can't handle it. Re-read my last post. If you want to do this, install Header Tags..

Jack..

Comment #7

Header Tags Controller contribution is now installed. Everything is workign well. One thing, how do we get the product_reviews_write.php to display a unique product title. Beside modifying product_reviews_write.php. WHat other files do we have to modify to get it working...

Comment #8

The titles for the Review pages don't work if you have title set for them in enlgish/header_tags.php. So your entry for this page should look like.

Define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE',' ');.

Jack..

Comment #9

I added the following to english/header_tags.php..

Define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE',' ');.

I modified Product_reviews_write.php as it should be:.

<?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.

?>.

I still don't get a unique titile header for every product in review write..

What could be causing this to happen..

Thanks for your help jack..

Comment #10

This isn't what I meant. That file already has the define in there. Remove the one you added and then search the file for the existing one. Make sure it is empty..

I assumed this was already done since it is part of the installation. Since it wasn't, I'm wondering if there are other steps that were missed?.

See above..

Jack..

Comment #11

The file didn't have a define. I had to define it. I didn't use the autoinstall feature that came with the contritbution, I just made it manually. Here how the header_tag.php looks like for reviews.

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

Define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE','');..

Comment #12

If the file didn't have a define, then you have a corrupted file. Look at the file from the contribution and you will see it does have it in there..

It's not necessary to use the autoinstall feature but you do have to make all of the required chages for the contribution to work properly. Did you change your includes/application_top.php file? Did you upload the SQL file? It sounds like you have either a bad copy of the contribution or it wasn't installed correctly. You should go over the instructions and make sure it is all as it should be..

Jack..

Comment #13

What modifications are made to/catalog/includes/application_top.php other then this:.

Require(DIR_WS_FUNCTIONS'header_tags.php');.

Require(DIR_WS_FUNCTIONS'clean_html_comments.php');.

Also added the 3 SQl lines. What could be missing. That's how my header_tag looks like:.

<?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','abc');.

Define('HEAD_DESC_TAG_ALL','abc');.

Define('HEAD_KEY_TAG_ALL','abc');.

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

Define('HEAD_KEY_TAG_DEFAULT','abc');.

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

Define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE','');.

?>..

Comment #14

I think the problem is from includes/header_tags.php. here is what I have for reviews. thier is nothing about product_reviews_write.php..

// PRODUCTS_REVIEWS_INFO.PHP and PRODUCTS_REVIEWS.PHP.

Case ( strstr($_SERVER['PHP_SELF'],'product_reviews_info.php') or strstr($_SERVER['PHP_SELF'],'product_reviews.php') or strstr($PHP_SELF,'product_reviews_info.php') or strstr($PHP_SELF,'product_reviews.php') ):.

If ( HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO=='' ) {.

If ( HTDA_PRODUCT_REVIEWS_INFO_ON=='1' ) {.

$the_desc= tep_get_header_tag_products_desc(isset($HTTP_GET_VARS['reviews_id']))' 'HEAD_DESC_TAG_ALL;.

} else {.

$the_desc= tep_get_header_tag_products_desc(isset($HTTP_GET_VARS['reviews_id']));.

}.

} else {.

$the_desc= HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO;.

}.

If ( HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO=='' ) {.

If ( HTKA_PRODUCT_REVIEWS_INFO_ON=='1' ) {.

$the_key_words= tep_get_header_tag_products_keywords(isset($HTTP_GET_VARS['reviews_id']))' 'HEAD_KEY_TAG_ALL;.

} else {.

$the_key_words= tep_get_header_tag_products_keywords(isset($HTTP_GET_VARS['reviews_id']));.

}.

} else {.

$the_key_words= HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO;.

}.

If ( HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO=='' ) {.

If ( HTTA_PRODUCT_REVIEWS_INFO_ON=='1' ) {.

$the_title= tep_get_header_tag_products_title(isset($HTTP_GET_VARS['reviews_id']))' - 'HEAD_TITLE_TAG_ALL;.

} else {.

$the_title= tep_get_header_tag_products_title(isset($HTTP_GET_VARS['reviews_id']));.

}.

} else {.

$the_title= HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO;.

}.

Break;..

Comment #15

Argh! I have a number of versions on my computer and was looking at the wrong one. You are correct, that is not included in the base install. HTC only comes with a few pages setup. If you want it to work for other pages, you have to add the code for it. Add the following to your includes/header_tags.php file..

// PRODUCTS_REVIEWS_WRITE.PHP.

   case((basename($PHP_SELF)==FILENAME_PRODUCT_REVIEWS_WRITE)):.

   if ( HEAD_DESC_TAG_PRODUCT_REVIEWS_WRITE=='' ) {.

     if ( HTDA_PRODUCT_REVIEWS_WRITE_ON=='1' ) {.

       $the_desc= tep_get_header_tag_products_desc($HTTP_GET_VARS['reviews_id'])' 'HEAD_DESC_TAG_ALL;.

     } else {.

       $the_desc= tep_get_header_tag_products_desc($HTTP_GET_VARS['reviews_id']);.

     }.

   } else {.

     $the_desc= HEAD_DESC_TAG_PRODUCT_REVIEWS_WRITE;.

   }.

   if ( HEAD_KEY_TAG_PRODUCT_REVIEWS_WRITE=='' ) {.

     if ( HTKA_PRODUCT_REVIEWS_WRITE_ON=='1' ) {.

       $the_key_words= tep_get_header_tag_products_keywords($HTTP_GET_VARS['reviews_id'])' 'HEAD_KEY_TAG_ALL;.

     } else {.

       $the_key_words= tep_get_header_tag_products_keywords($HTTP_GET_VARS['reviews_id']);.

     }.

   } else {.

     $the_key_words= HEAD_KEY_TAG_PRODUCT_REVIEWS_WRITE;.

   }.

   if ( HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE=='' ) {.

     if ( HTTA_PRODUCT_REVIEWS_WRITE_ON=='1' ) {.

       $the_title= ' Reviews: 'tep_get_header_tag_products_title($HTTP_GET_VARS['reviews_id'])HEAD_TITLE_TAG_ALL;.

     } else {.

       $the_title= tep_get_header_tag_products_title($HTTP_GET_VARS['reviews_id']);.

     }.

   } else {.

     $the_title= HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE;.

   }.

   break;.

And add the following to english/header_tags.php.

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

Define('HTTA_PRODUCT_REVIEWS_WRITE_ON','1');.

Define('HTKA_PRODUCT_REVIEWS_WRITE_ON','1');.

Define('HTDA_PRODUCT_REVIEWS_WRITE_ON','1');.

Define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE','');.

Define('HEAD_DESC_TAG_PRODUCT_REVIEWS_WRITE','');.

Define('HEAD_KEY_TAG_PRODUCT_REVIEWS_WRITE','');.

I'm sorry for the confusion..

Jack..

Comment #16

I noticed that product reviews have no unique page titile that matches the product being viewed in reviews. Google is always crawling the reviews section, and it could help the ranking dramatically if thier was a unique title and meta tag for every product being viewed in this sections. How can this be done..

Cheers..

Comment #17

If you install the Header Tags Controller contribution it will handle this for you..

Jack..

Comment #18


This question was taken from a support group/message board and re-posted here so others can learn from it.