Jack_mcs Posted February 11, 2014 Author Share Posted February 11, 2014 It depends upon what version of oscommerce you are using. The included instruction files explains what changes are needed. Quote 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...
zoulxp Posted February 11, 2014 Share Posted February 11, 2014 So if nothing appear, it's a code problem in index page ? my osc is less than 2.3 Quote Link to comment Share on other sites More sharing options...
Nexxus Posted February 11, 2014 Share Posted February 11, 2014 Hi Jack Thanks for that genius contrib. I looking to prevent some keywords crawling like (buy now) etc. from search engines. Is there a possibility to exclude keywords ? like build a txt list for keywords i want not to store? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 11, 2014 Author Share Posted February 11, 2014 @@zoulxp Yes, most likely that is the case. Try running the test in the Header Tags SEO section in admin. It might point to some problem. Also check the product pages to see if the title and tags show there. If they do, then the problem is almost definitely with the index.php file. Quote 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...
Jack_mcs Posted February 11, 2014 Author Share Posted February 11, 2014 @@Nexxus No, there isn't any way to prevent the search engines from using a word on a page. But the only way the keywords would show in the search engine listings is if you setup the page to target those keywords, which you shouldn't do, or you didn't setup the page at all, in which case the search engines will make up their own. Quote 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...
zoulxp Posted February 11, 2014 Share Posted February 11, 2014 i have use my old index (it worked) and now same problem. I have the problem with product pages too. So the problem is out there. Quote Link to comment Share on other sites More sharing options...
zoulxp Posted February 11, 2014 Share Posted February 11, 2014 (edited) this function is done by include/header_tags.php file, isn't it ? and the database table use is headertags_default ? Edited February 11, 2014 by zoulxp Quote Link to comment Share on other sites More sharing options...
♥altoid Posted February 11, 2014 Share Posted February 11, 2014 Jack, working on update 3.3.1, for the SQL update I get this error: #1170 - BLOB/TEXT column 'page_keywords' used in key specification without a key length for this action: ALTER TABLE headertags ADD INDEX idx_page_keywords ( page_keywords ) ; data type was mediumtext I changed that to: varchar(255) I ran that code again and this time it was successful. Just checking with you on you thoughts of using varchar(255). Thanks PiLLaO 1 Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 11, 2014 Author Share Posted February 11, 2014 this function is done by include/header_tags.php file, isn't it ? and the database table use is headertags_default ? I'm sorry but I don't understand the question. Quote 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...
Jack_mcs Posted February 11, 2014 Author Share Posted February 11, 2014 @@altoid That should be fine. It just means the most text you can use for that field is 255 characters. If you think you will need more than that, then you can increase the size. Quote 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...
zoulxp Posted February 12, 2014 Share Posted February 12, 2014 "i have nothing in "from site" meta tag English From Site: Title -> Meta Description -> Meta Keywords -> From Settings: Title -> - Brown Chinese letter Incense Holder Meta Description -> - Brown Chinese letter Incense Holder Meta Keywords -> , Brown Chinese letter Incense Holder" the code in index file is : /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php } /*** End Header Tags SEO ***/ so the right file to fill meta in index is /includes/header_tags.php This file do query to headertags_default table. is it right ? I would like to resolve this problem. Thank for your help ;-) Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 12, 2014 Author Share Posted February 12, 2014 It queries the default table, among others. But if you are trying to use text from the default table, you have to have the default boxes checked for index.php in Page Control. It is not a good idea to do it that way. You should setup index.php in Page Control itself. Quote 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...
zoulxp Posted February 12, 2014 Share Posted February 12, 2014 (edited) ok i have do that : i have fill the root area and check root and product includes but in verify option, non meta in title, description and keywords Edited February 12, 2014 by zoulxp Quote Link to comment Share on other sites More sharing options...
zoulxp Posted February 12, 2014 Share Posted February 12, 2014 another problem found : Display Page Top Title don't work in fact my problem is the value in $header_tags_array (example : echo $header_tags_array['title'] ) The fields are empty... Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 12, 2014 Author Share Posted February 12, 2014 It sounds like there is something wrong with your installation and isn't something I can fix in a support thread. I suggest you start over and double check all of the changes. Quote 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...
zoulxp Posted February 12, 2014 Share Posted February 12, 2014 have you some advice for me in which files i have to look ? I think it's not due to manufacturer.php change, or categories.php change... My shop is 2.2RC2 Quote Link to comment Share on other sites More sharing options...
zoulxp Posted February 13, 2014 Share Posted February 13, 2014 i have found the problem. If the files of my shop are in the root of my domain, it don't work, but if the files are in /shop/ directory, header tags works perfectly. any idea ? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 13, 2014 Author Share Posted February 13, 2014 There's nothing in the files of this addon that would cause this. Any paths it uses are taken from the configure files so,it would seem, your configure files are not setup correctly. Quote 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...
Nexxus Posted February 13, 2014 Share Posted February 13, 2014 (edited) @@Nexxus No, there isn't any way to prevent the search engines from using a word on a page. But the only way the keywords would show in the search engine listings is if you setup the page to target those keywords, which you shouldn't do, or you didn't setup the page at all, in which case the search engines will make up their own. Thanks Jack, short a small cosmetic edit for your next version: for who is using an customized chkeditor for editing Product Descriptions, in hes meta tags descriptions it shows tags like "<br><h1>" etc... To prevent that, i have changed in header_tags.php following line with strip_tags and the tags in meta description are gone: echo ' <meta name="Description" content="' . strip_tags($header_tags_array['desc']) . '" >' . "\n"; Edited February 13, 2014 by Nexxus Quote Link to comment Share on other sites More sharing options...
zoulxp Posted February 13, 2014 Share Posted February 13, 2014 There's nothing in the files of this addon that would cause this. Any paths it uses are taken from the configure files so,it would seem, your configure files are not setup correctly. i have put files in the same server and it's the same database. Only thing that change is the directory. The configure.php files are exactly the same except the directory "shop" added. the shop directory site work with header tags and the root site don't with header tags... it's really crazy.... Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 13, 2014 Author Share Posted February 13, 2014 @@Nexxus There is already code in the admin to strip the tags. Quote 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...
Ken_Shea Posted February 15, 2014 Share Posted February 15, 2014 Have searched and cant really find a definition that (I understand) says exactly what a Title Tag - URL is/does. Have added some but see no use of it in the page source code or on the site page. Will you describe it's function and proper use? Thanks much Ken Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 15, 2014 Author Share Posted February 15, 2014 It's for changing the text in the url. It only works if your shops is using the latest version of Ultimate SEO v2.2d. If your current url for a product is http:// mydomainname.com/a-very-long-product-name-p-1.html, you could change it to http:// mydomainname.com/much-shorter-p-1.html. Quote 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...
Ken_Shea Posted February 15, 2014 Share Posted February 15, 2014 Not able to locate any reference to the version, you had installed it on the 02/02/14, had any changes since then? Not able to get it to change the URL though. Quote Link to comment Share on other sites More sharing options...
AJRYAN Posted February 15, 2014 Share Posted February 15, 2014 Hi Jack. I installed this back around the end of summer last year. I just noticed that only some of my category descriptions are showing up. Any ideas? I imagine this isn't good for sales. Thanks. Art Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.