Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anyone know how to add Meta tags to help search engine?


Ferris

Recommended Posts

Hi, can anyone tell me how to add meta tags to index.php and product_info.php. Do I add it like this?

 

<?php echo "<meta name=\"keywords\" content=\"".KEYWORDS."\">"; ?>

<?php echo "<meta name=\"description\" content=\"".DESCRIPTION."\">"; ?>

Between </title> and </head> about line 48

 

and in english.php about line 40

 

define('KEYWORDS', 'keyword1, keyword2, etc, etc');

define('DESCRIPTION', 'Upgradecentral.co.nz - Computer parts, and accessories.');

 

I've tried this and both index and product info pages lose the css colours?

 

Cheers :D Site > www.upgradecentral.co.nz

A nerd is someone whose life revolves around computers and technology. A geek is someone whose life revolves around computers and technology, and likes it!!

Link to comment
Share on other sites

Hi, can anyone tell me how to add meta tags to index.php and product_info.php. Do I add it like this?

 

<?php echo "<meta name=\"keywords\" content=\"".KEYWORDS."\">"; ?>

<?php echo "<meta name=\"description\" content=\"".DESCRIPTION."\">"; ?>

Between </title> and </head> about line 48

 

and in english.php about line 40

 

define('KEYWORDS', 'keyword1, keyword2, etc, etc');

define('DESCRIPTION', 'Upgradecentral.co.nz - Computer parts, and accessories.');

 

I've tried this and both index and product info pages lose the css colours?

 

Cheers :D Site > www.upgradecentral.co.nz

 

search for "header tags" in the contribution section. This will pop up a fab contrib that will help you. I use it on all my sites.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...