Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do i add metatags to my site.


Mark-UK

Recommended Posts

Posted
meta tags

catalog/index.php:

 

change as follows:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

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

<!-- Add these 2 new meta's // -->

<!-- Put the description of your site in here // -->

<meta name="description" content="put the description of your site in here">

<!-- your keywords separated bij a , (comma) as shown // -->

<meta name="keywords" content="keyword_1, keyword_2, etc">

<!-- Existing meta // -->

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

<!-- Leave the base ref alone if you don't know already what you are doing // -->

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<!-- use the stylesheet to make-up the content // -->

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

"If you're working on something new, then you are necessarily an amateur."

Archived

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

×
×
  • Create New...