Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A question about Header Tags


oslover

Recommended Posts

Posted

Hi, I am currently using HeaderTags_V_2.6.2. I should give my thanks to everyone who contributed in this mod.

 

I would like to know if it is possible to change the tags of conditions.php, shipping, and privacy.php. because when I type my website name on google the only sentences I see are those in conditions and shipping pages.

 

I tried to edit these files, I did these modifications:

 

FIND:

 

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

 

REPLACE with:

 

<?php

// BOF: Header Tag Controller v2.6.0

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

require(DIR_WS_INCLUDES . 'header_tags.php');

} else {

?>

<title><?php echo TITLE; ?></title>

<?php

}

// EOF: Header Tag Controller v2.6.0

?>

 

AND:

 

FIND

<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>

<td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>

 

REPLACE with

 

<td valign="top"><h1><?php echo $products_name; ?></h1></td>

<td align="right" valign="top"><h1><?php echo $products_price; ?></h1></td>

 

I couldn't find the these two lines but something similar that contain <td class="pageHeading" > <?php echo $products_name

 

 

 

But I still can see these pages in RED in Admin Header Tags TEXT CONTROL..

Posted

Oh !! While I was pasting the code of my conditions.php here. I noticed some lines were missing. I edited all these pages and I can see them in Black now.

 

Thank you so much Jack. I now filled the tags, but when I type my website name on Google I still can see condition.php text.

 

Could you please advise some useful tips for better use of Header Tags since you are one of its contributers.

 

Thanks again

Posted

The search engines won't update your listings overnight. It could take weeks, or even months. All you can do is add whatever text you want to the page and move on the next one. Kep checking the listings and eventually they will change. If it is still not close to what you want, tweak it some more. But they, especially google, will put the text they want there so you don't have full control over it. This page may give you some help.

 

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

Archived

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

×
×
  • Create New...