Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tags for novice - troubleshoot


tojnom

Recommended Posts

Posted

Hi everyone, I need a little help. I installed the Header Tags for Novice and the admin appears to be working, no errors whatsoever. When I add keywords, page title, or description tags they are not showing up on any product or category page. This might be a very easy fix, but I'm a newbie. Any ideas.... :blink:

Cbus Cycle

 

 

//default title tag for the index (home) page

$title_home_default = "Cbus Cycle - Tools for Bicycles";

//default keywords for the index (home) page

$kws_home_default .= STORE_NAME;

//default Description for the index (home) page

$desc_home_default = "Your source for Bike Tools - IceToolz, Unior, Pedro's, Nokon";

}

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

?>

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

<html <?php echo HTML_PARAMS; ?>>

<head>

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

<title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title>

<meta name="description" content="<?php echo (strlen(strip_tags($desc_tag)) < 5)? $desc_home_default : strip_tags($desc_tag); ?>">

<meta name="keywords" content="<?php echo (strlen(strip_tags($keywords_tag)) < 5) ? $kws_home_default : strip_tags($keywords_tag); ?>">

 

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

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

<link rel="shortcut icon" href="/favicon.ico">

</head>

Archived

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

×
×
  • Create New...