nickschick Posted February 7, 2005 Share Posted February 7, 2005 I recently bought a complete site, but one that does not have any meta tags set-up. I have absolutely zero knowledge of php so anything anyone advises me will have to be spelt out. I have been looking around trying to sort out these tags on my own, I did download Header Tags Controller v2.2 but even this was beyond me so I did not even attempt it! For the time being I only want tags on the main page so I can at least submit it - nothing fancy or too complicated. I read somewhere that I can place ordinary tags on the Index.php page so I took a looked at it, but thought where? This is from someone who only knows html. My index.php page looks like this: <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', '<meta http-equiv="Content-Language" content="en-gb"> <p> <img border="0" src="http://www.website name removed/catalog/images/1.jpg" width="230" height="323"><img border="0" src="http://www..website name removed/catalog/images/2.jpg" width="244" height="323"><img border="0" src="http://www..website name removed/catalog/images/3.jpg" width="244" height="323"></p> '); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let's See What We Have Here'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> I would be really grateful if someone could tell me whereabouts in this code I put my meta-tags. Cheers and indebted to you, Michelle Link to comment Share on other sites More sharing options...
♥Vger Posted February 7, 2005 Share Posted February 7, 2005 That's the wrong index.php file. You need to place your meta tags in the <head> section of the root level index.php file. You'll see that there are some meta tags already there. Vger Link to comment Share on other sites More sharing options...
nickschick Posted February 7, 2005 Author Share Posted February 7, 2005 That's the wrong index.php file. You need to place your meta tags in the <head> section of the root level index.php file. You'll see that there are some meta tags already there. Vger <{POST_SNAPBACK}> Thanks for your response, but I am new to this and I do not even know where my 'root level index.php file' is! I said I needed it spelt out... :D Somebody told me to go here: public_html/catalog/includes/languages/English/index.php That's where I got the above file. Regards, Michelle Link to comment Share on other sites More sharing options...
nickschick Posted February 7, 2005 Author Share Posted February 7, 2005 Thanks for your response, but I am new to this and I do not even know where my'root level index.php file' is! I said I needed it spelt out... :D Somebody told me to go here: public_html/catalog/includes/languages/English/index.php That's where I got the above file. Regards, Michelle <{POST_SNAPBACK}> Dear folks, I think I have finally figured this one out and that the file I needed was actually: public_html/catalog/index.php Does anybody know if the tag should be: <meta name .... etc. rather than <META NAME... or does 'shouting' not matter? All the best Michelle Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 7, 2005 Share Posted February 7, 2005 Congratulations on finding it. It will get easier from here. :) The case doesn't matter. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
nickschick Posted February 7, 2005 Author Share Posted February 7, 2005 Congratulations on finding it. It will get easier from here. :) The case doesn't matter. Jack <{POST_SNAPBACK}> Thanks Jack - we certainly need a sense of humour to do all this! Regards, Michelle Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.