You are here:  » Google not reconizing meta tag

Support Forum



Google not reconizing meta tag

Submitted by AD_Mega on Fri, 2007-11-30 06:21 in

For some reason google isn't reconizing the description of the meta tag. When I goto a products page and look at the source the correct information in listed below id my meta tah in header.php.

<link media='all' href='/style.css' type='text/css' rel='stylesheet' />
<link media='all' href='/default.css' type='text/css' rel='stylesheet' />
<title><?php print (isset($header["title"])?'Product Search Results For'.str_replace( array( 'merchant:',':'), ' ',$header["title"]):$config_title); ?></title>
<?php
if( isset($header["title"]) ){
?>
<meta name="revisit-after" Content="2 Days">
<meta name="Description" Content="<? echo 'Product Search Results for '.str_replace( array( 'merchant:',':'), ' ',$header["title"]); ?>">
<meta name="Keywords" Content="<? echo str_replace( array( 'merchant:',':'), ' ',$header["title"]); ?>">
<?php
}
?>
<?php if (isset($header["meta"])): foreach($header["meta"] as $name => $content): ?>
<meta name='<?php print $name?>' content='<?php print $content?>' />
<?php endforeach; endif; ?>
</head>
<body>

Submitted by support on Fri, 2007-11-30 06:24

Hi,

I don't think Google necessarily uses the description meta tag as the page snippet if it can find something better to use on the page, and for a product page this is most likely to be the product description itself, as that is what appears between the first paragraph tags on the page. If the code looks correct then it should certainly still count towards ranking as far as the description tag does at all these days.

Cheers,
David.