Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Beginner_OS

Pioneers
  • Posts

    14
  • Joined

  • Last visited

Everything posted by Beginner_OS

  1. That works perfectly! Thank you very much Jack!
  2. As far as I can see, there is only one place - default Tags in Page Control. And when I select this option under Meta Tags / Language, I get <meta http-equiv="Content-Language" content="Main Language"> in accordance with the code defined by $langName[0], for all languages.
  3. Is it possible to indicate that content is actually in current language and not the main one: if ($defaultTags['meta_language']) { $langName = explode(",", $_SERVER["HTTP_ACCEPT_LANGUAGE"]); echo ' <meta http-equiv="Content-Language" content="' . $langName[0] . '" >'."\n"; } In ther words, how to get e.g. this: <meta http-equiv="Content-Language" content="it">
  4. I see. I am trying now to set "canonical" tag in all languages but one. So far I was able to have them everywhere (checking this option in default section). How to remove the tag "canonical" from the pages in main language?
  5. Thank you for the very helpful answers Jack! Is there any difference between UPPER_ITEMNAME and ITEMNAME in 'fill tags'? I thought it is a parent category, but it is apparently not. Is it possible to use parent category name when filling tags for a subcategory?
  6. I see, but what about having that long h2's in general? Is it OK for search engines? I mean, if the description is in the description metatag, it is fine, but having it is under h2 on page?
  7. Could anybody explain why the category description, which is in my case 5-10 sentences falls into <h2>? Isn't it better to have something like <h2>Description</h2> and then actual description as a content? Also because the style for h2 is usually a visible font (bold, etc.) and when 5 sentences are all in bold, it does not look cool...
  8. Great package! I got this message: CONGRATULATIONS! All files generated successfully. but my sitemapcategories.xml contains each category listed 6 times (number of languages) in the main language of the site. Apart from this, why is it better to have only one language for the sitemap? Will "not English speaking" crawlers understand that feature of the addon?
  9. Thank you! I installed both addons you mentioned. I thought canonical meta tags are needed when one of the pages with similar content should be emphasized. In this case the information is different since it is given in different languages. Or search engines do not consider this as a big difference?
  10. Thanks a lot! This sounds convincing. I thought it will be helpful for the sitemap. Isn't it better if everything is well structured and URLs correspond to that structure. Another question. What about the multilanguage issue? Is it still currently preferrable to have shop/en/category... ?
  11. I found that code, but it does not work, as it modified a very old version and a lot of things have been changed since then. I am not sure whether it is really needed, but according to google recommendations, URL should follow the rule shop/parentcategory/subcategory/product.html. Your script is excellent, but all products are kind of in the same folder for google ... Basically, only one replacement: parentcategory- to parentcategory/ would do the job and I tried this, but slash is erased by something. Even the straightforward change of the parentcategory name to the one ending with '/' does not help as slashes are removed afterwards. Some (useless, in the product name) are not and this is puzzlng.
  12. Why does oscommerce not remove it when I change it here? $anchor = preg_replace($pattern, '-', $anchor); ---> $anchor = preg_replace($pattern, '/', $anchor); Actually slash in the product name is not an issue (it is better if it is replaced by hyphen, of course). I am trying to replace only one hyphen by slash: between parent category and subcategory, and between the parent category and the product name. Is that possible?
  13. Dear Experts! Is there any way to leave slash '/' in the product name? I cannot find the place in the script seo.class.php where the slashes are removed. Thank you.
×
×
  • Create New...