Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Meta description and tag not showing up


Guest

Recommended Posts

Posted

I've tried to add a meta description and some keywords to my product review .php, but when I click 'view source' in my browser they do not appear. Can anyone tell me what the problem might be? (I am not using any meta tag add ons).

 

I added something like this:

 

<meta name="description" content="my description went here" />

 

<meta name="keywords" content="my keywords went here" />

 

Many thanks in advance for any replies :)

Posted

Can you post the portion of product_review.php where you added them (a few lines before and after the addition).

Check out Chad's News.

Posted

I've deleted what I had done since writing the post but it was like this:

 

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

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

<meta name="description" content="description here">

<meta name="keywords" content="keywords here, here,here">

Posted

Well, that certainly looks correct.

 

The only thing I can think of is that you may be viewing the source of the wrong page. So double-check that product_review.php is what's showing in the address bar of your browser. And if your template is using frames or iframes, you may be viewing the source of the parent and not the actual frame.

Check out Chad's News.

Posted

Thanks very much for your idea chad, I'll take another look.

Archived

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

×
×
  • Create New...