Forum Moderators: buckworks

Message Too Old, No Replies

need to know which file to update

which file to update?

         

amythepoet

11:45 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,
I'm trying to add meta tags to my oscommerce site and I can't find the right file.

I see it when I look at the home page and it looks like it is inside of a file called catalog, but there are four index.php files, and it is very confusing to me!

Thanks
Amy

amythepoet

1:19 am on Dec 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



still trying to add these meta tags,

Now, I've found something in the catalogue that looks like this:

<!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>

Is that the correct place to add my title and meta tags?

thanks

amy

Birdman

1:34 am on Dec 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Amy,

It looks like the file you are showing is a PHP template for a database driven site.

Most likely, there is a line above what you show in your post that looks like:

include(/somefile.php);

That is the file where you would need to create your meta tags. You will need to know some PHP(and possibly MySQL) to do this, however.

amythepoet

1:49 am on Dec 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh, I don't know php or that other thing, sorry.

shrewsbury matt

1:52 am on Dec 24, 2003 (gmt 0)

10+ Year Member



If you search the contributions area of the oscommerce site you'll find some code that will allow you to modify meta tags.