Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Meta Tags on mainpage


Diajejo

Recommended Posts

Posted

In going to my website and clicking on the source page, I discovered that there are meta tags for dvd, software and the like. I sell wine. I need to change the meta tags but need to know which file I can do this in. I cant get to it from my Admin page. Please help.

Thanks, Diana

Posted
In going to my website and clicking on the source page, I discovered that there are meta tags for dvd, software and the like. I sell wine. I need to change the meta tags but need to know which file I can do this in. I cant get to it from my Admin page. Please help.

Thanks, Diana

You could try just editing index.php in the root folder of your catalog. Find this bit

<!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 TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

 

And insert this anywhere between the <head> </head>

 

<meta name="keywords" content="Insert your keywords here">

 

Doing it this way of course means that it's just your index page with the keywords, you could manually edit all of the other pages with other relevant keywords. I presume that there is probably an easier way, but this worked OK for me. Hope that helps.

Posted
In going to my website and clicking on the source page, I discovered that there are meta tags for dvd, software and the like. I sell wine. I need to change the meta tags but need to know which file I can do this in. I cant get to it from my Admin page. Please help.

Thanks, Diana

It sounds like you have Header Tags installed. If so, go to admin->Header Tags->Text Control and change it there. If not, it is caused bu some other meta tags contribution you have installed so you will need to read the instructions for it to find out how to change it. Don't change the code in the index file since that will break the contribution and hurt the SEO for that page.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
You could try just editing index.php in the root folder of your catalog. Find this bit

<!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 TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

 

And insert this anywhere between the <head> </head>

 

<meta name="keywords" content="Insert your keywords here">

 

Doing it this way of course means that it's just your index page with the keywords, you could manually edit all of the other pages with other relevant keywords. I presume that there is probably an easier way, but this worked OK for me. Hope that helps.

 

Just found this Contribution which will do the trick I think.

 

Header Tags

Posted

Hi, Thanks for your help. How to I get to my root file? What is the path? It is a template that Im using.

Thanks, Diana

 

You could try just editing index.php in the root folder of your catalog. Find this bit

<!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 TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

 

And insert this anywhere between the <head> </head>

 

<meta name="keywords" content="Insert your keywords here">

 

Doing it this way of course means that it's just your index page with the keywords, you could manually edit all of the other pages with other relevant keywords. I presume that there is probably an easier way, but this worked OK for me. Hope that helps.

Posted
Hi, Thanks for your help. How to I get to my root file? What is the path? It is a template that Im using.

Thanks, Diana

 

The root path is usually the folder /catalog is. This folder should contain files such as index.php.

 

Do you have the header tags contribution installed?

I'm guessing by your questions you don't if not you should look into installing it. You can control the meta tags on the whole site with it.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Archived

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

×
×
  • Create New...