warrenerjm Posted March 13, 2006 Posted March 13, 2006 Hi again I have researched and have the following meta lines I need to add to my site. My question is firstly are they OK & does it go in the index.php file? In that file I have found <head><title> then I put <meta ...finishing with </Head> <head> <title>.......</title> <meta name="description" content=" <meta name="keywords" content=" <meta name="rating" content="general"> <meta name="distribution" content="UK"> <meta name="author" content=" <meta name="robots" content="index,follow"> <meta http-equiv="http://site.co.uk/shop/"> the style sheet goes here then </head> Does this look OK, & if it is index.php does it need to go anywhere else? Thank you for all your help. I am getting there just slowly! Julie
Jack_mcs Posted March 13, 2006 Posted March 13, 2006 That will work but in a very, very limited fashion. None of your product pages will be affected by it. You need to install the Header Tags Controller contribution to get the full benefit of titles and meta tags. 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
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 That will work but in a very, very limited fashion. None of your product pages will be affected by it. You need to install the Header Tags Controller contribution to get the full benefit of titles and meta tags. Jack Hi Jack Do you mean this one? Mata Tags Generator! Works with Search Engine Friendly URL's Support thread can be found here: http://www.oscommerce.com/forums/index.php?showtopic=160950 Install upload meta_tags.php to /catalog/includes/ Repleace <title><?php echo META_TAG_TITLE; ?></title> on ever php page in the main catalog directory with <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> I have not had time to test this contribution. You can see it working at www.itchi-tech.co.uk V 1.1 No functionality changes, just a quick edit of the meta_tags.php file so that it does not show the page name on top of the screen as well as a small correction in the install instructions. v1.1 corrected install instructions: Meta Tags Generator! Works with Search Engine Friendly URL's Support thread can be found here: http://www.oscommerce.com/forums/index.php?showtopic=160950 Install upload meta_tags.php to /catalog/includes/ Replace <title><?php echo TITLE; ?></title> on ever php page in the main catalog directory with <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> I have not had time to test this contribution. You can see it working at www.itchi-tech.co.uk instead of putting what I said in the index.php? I pressume I input my details into the meta_tags.php? Thanks Julie
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 I pressume I input my details into the meta_tags.php? /quote] ???????????? Just looked at meta_tags.php Do I leave this file intact & put the shop description & keywords here? Repleace <title><?php echo META_TAG_TITLE; ?></title> on ever php page in the main catalog directory with <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> Next ques? "on ever php page in the main catalog directory" Does this mean every .php file on the first page you come to in admin/tools/files? Just hanging in there, so please forgive my stupidity! Thanks Julie
♥Vger Posted March 13, 2006 Posted March 13, 2006 It means every root level page, so yes that would be the files you see displayed when you go to osC admin --> Tools --> Files. Vger
Jack_mcs Posted March 13, 2006 Posted March 13, 2006 Hi Jack Do you mean this one? instead of putting what I said in the index.php? I pressume I input my details into the meta_tags.php? Thanks Julie No, I meant this one. The one you found will work and is easier to install. Header Tags is the most difficult to install of all of the meta tag contributions but it optimizes the pages better than the others. 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
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 It means every root level page, so yes that would be the files you see displayed when you go to osC admin --> Tools --> Files. Vger I understand that I need to amend in all the .php files I see in the first page (not any in the folders on that page), but reading this again... Replace <title><?php echo META_TAG_TITLE; ?></title> on ever php page in the main catalog directory with <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> I think I have to add my description & keywords somewhere in the meta_tags.php from the contribution, before I upload that file to my site. BUT where?I have 6 pages & I don't know where to put my shop name & descriprion & keywords of the goods I am selling? Would you be able to explain this for me Vger please? Thank you. Julie
♥Vger Posted March 13, 2006 Posted March 13, 2006 No, once you've added those tags, as per the Contribution Install instructions, along with the rest of the Contribution - then you add your Meta Tag Keywords and Description when you add products to your Catalog in osC admin. Then they appear on the page in the code. Vger
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 No, I meant this one. The one you found will work and is easier to install. Header Tags is the most difficult to install of all of the meta tag contributions but it optimizes the pages better than the others. Jack Thanks Jack. It is much easier when directed directly to a contribution, as in my case I picked a different one! Yours is probably better, BUT if I can understand the final little bit Vger said, & it works OK, I will do the other one. Main reason, I am learning daily on a very steep learning curve, as I have never done anything like this before. I am getting there but your contribution looks just a little too much for me to take on at the moment. Thanks for your reply. Always appreciated. Julie
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 No, once you've added those tags, as per the Contribution Install instructions, along with the rest of the Contribution - then you add your Meta Tag Keywords and Description when you add products to your Catalog in osC admin. Then they appear on the page in the code. Vger Hi Vger This is the only thing I can see I would have to do. I have read the support thread. I presume once I upload meta_tags.php & amend line in every .php file in first admin>tools>files page then that is it. Will it produce description & keywords for all the products I have already done? Does it only work for products or for all the pages? Sorry for being thick, but I want to make sure I fully understand what I need to do as I'm just been doing this for 6weeks! Thank You Julie V 1.1 No functionality changes, just a quick edit of the meta_tags.php file so that it does not show the page name on top of the screen as well as a small correction in the install instructions. v1.1 corrected install instructions: Meta Tags Generator! Works with Search Engine Friendly URL's Support thread can be found here: http://www.oscommerce.com/forums/index.php?showtopic=160950 Install upload meta_tags.php to /catalog/includes/ Replace <title><?php echo TITLE; ?></title> on ever php page in the main catalog directory with <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> I have not had time to test this contribution. You can see it working at www.itchi-tech.co.uk
Jack_mcs Posted March 13, 2006 Posted March 13, 2006 Thanks Jack. It is much easier when directed directly to a contribution, as in my case I picked a different one! Yours is probably better, BUT if I can understand the final little bit Vger said, & it works OK, I will do the other one. Main reason, I am learning daily on a very steep learning curve, as I have never done anything like this before. I am getting there but your contribution looks just a little too much for me to take on at the moment. Thanks for your reply. Always appreciated. Julie I usually just supply the name of a contribuiton I reference. As you work more and more with oscommerce, you will find yourself in the contributions section quite a bit. Learning how to search for the item yourself will save you, and everyone else, trouble in the furture. As for the one you picked, there is no reason to apologize. It is not a popularity contest as to which one is better. If that contribution works for you then you should use it. A lot of people will pick one like that, run it a while and then try a different one until they find one they are satisfied with. Once you get used to installing contributions, it will get easier for you to make such changes. You are right in not taking on too much initially. 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
warrenerjm Posted March 13, 2006 Author Posted March 13, 2006 I usually just supply the name of a contribuiton I reference. As you work more and more with oscommerce, you will find yourself in the contributions section quite a bit. Learning how to search for the item yourself will save you, and everyone else, trouble in the furture. As for the one you picked, there is no reason to apologize. It is not a popularity contest as to which one is better. If that contribution works for you then you should use it. A lot of people will pick one like that, run it a while and then try a different one until they find one they are satisfied with. Once you get used to installing contributions, it will get easier for you to make such changes. You are right in not taking on too much initially. Jack Thanks Jake Believe me I am such a novice that I am spending hours & hours reading the forum, & contributions. I have no other life! Some are easier to understand & others look scary so it is better to wait till I am much more experienced like you said. Things not working & not knowing what to do worry me the most, so I am more cautious than most. Julie
Jack_mcs Posted March 13, 2006 Posted March 13, 2006 Uh oh, sounds like you are hooked. :) Be prepared to spend the next year of your life building your shop and being frustrated when it fails. It does pay off though so hang in there. If you can't find an answer, you can always ask in the forums. 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.