Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

gaaalmp

Pioneers
  • Posts

    81
  • Joined

  • Last visited

Profile Information

  • Real Name
    George
  • Gender
    Male
  • Location
    Sydney

gaaalmp's Achievements

  1. Installed USU5 to replace ultimate. Saw same issue as post by Ryan. Yes - double checked headers etc. Seems it has to do something with either, 301 URI redirect or change in sitemaps also included with usu5pro. Google had already cached old ultimate URL. New sitemap and USU5 was installed and now webmaster tools filled with hundreds and hundreds of duplicate content for products and categories. Site was de-indexed pretty much straight away. KISSMT was also already installed. Not sure if this is the best approach but google saw the 301 as duplicate. changed to 404 to see if that works as a workaround. includes/modules/ultimate_seo_urls5/main/validator.php // If the incoming uri and the newly created uri do not match then we need to 301 redirect to the new. if ( Usu_Main::i()->getVar( 'request_compare_in' ) != Usu_Main::i()->getVar( 'request_compare_new' ) ) { $this->redirect( $new_url ); } } // end method to // If the incoming uri and the newly created uri do not match then we need to 301 redirect to the new. if ( Usu_Main::i()->getVar( 'request_compare_in' ) != Usu_Main::i()->getVar( 'request_compare_new' ) ) { // Is cPath or product_id? if (array_key_exists('products_id', $_GET) || array_key_exists('cPath', $_GET)) { $this->pageNotFound(); } else { $this->redirect( $new_url ); } } } // end method Dont know how else to approach this in a better way. Google says use 301 in their webmaster tools forum thread but they still see duplicates. :huh: On other parts of their forum they say: How confusing. >_< thoughts? 301 vs 404. Whats the best way to tackle this issue with USU5 and its xmlsitemaps included as an extra? Am I alone with this issue? Or am I interpreting things incorrectly? lastly any idea why I would get a 500 internal error if I ran up a new instance of a backed up website that had recently had usu5 installed. To get around it I have to remove the following lines from the sql file before installing the database on the new server. Once i do this its fine. Loads without a hitch. Seems usu5 runs sql commands and if its already in the database existing it barfs and I get 500 error. No idea why! INSERT INTO `configuration` VALUES(0009, 'Enable SEO URLs 5?', 'USU5_ENABLED', …<OUTPUT OMITTED> INSERT INTO `configuration` VALUES(, 'Enable the cache?', 'USU5_CACHE_ON', …<OUTPUT OMITTED> INSERT INTO `configuration` VALUES(, 'Enable multi language support?', 'USU5_MULTI_LANGUAGE_SEO_SUPPORT', …<OUTPUT OMITTED> <OUTPUT OMITTED> All the way down to : INSERT INTO `configuration` VALUES(0025, 'Reset USU5 Cache', 'USU5_RESET_CACHE', …<OUTPUT OMITTED>
  2. I forgot to add that I tried the fix mentioned on page 22 and that didn't solve the problem, Am I the only one to have the duplicate content issue, or has someone else come across this as well. Would appreciate any help on this one. Thanks.
  3. Hi Jack, Not really. I have a problem and thought Ultimate SEO is causing the issue but another forum user said the problem is exactly what they experienced and it was caused by this contrib. SEO sitemaps. I posted my last reply to this thread and asked this forum user if they could provide further info or possible share the fix. Anyway. To elaborate I have an issue where: I am getting duplicate content i.e (verified by webmaster tools) my-category-c-41_44.html & my-category-c-_44.html The parent ID is set in the DB and also referenced correctly. I did the following tests: Example of Original working link: my-category-c-4_44.html Changed parent ID variable in the address bar: my-category-c-_44.html my-category-c-123_44.html my-category-c-5435435_44.html All of these just go to the same category my-category-c-abc_44.html my-category-c-12abc3_44.html These 404 and redirect. As they have letters not just numbers included. Which makes sense. "my-category-c-4_44.html" is a sub category of a category called for example "hardware-c-4.html" so its: - hardware-c-4.html - my-category-c-4_44.html In the database for my-category-c-4_44.html: parent_id = 4 category_id = 44 In the database for hardware-c-4.html: parent_id = 0 category_id = 4 TIGERGIRL replied to my last post with this comment: "I don't like to hijack Roberts thread and apologies if I'm misunderstanding the issue. With anonther contrib (not this one) I had a major problem and mess to clean up with cpaths created like _77 & 0_77 after installing Sitemap SEO. Just thought I'd share that in case it's the cause of your issue." So therefore Im just asking the question here if anyone has/had this problem and if so could they shed any info on the fix.
  4. Looking for any info on this issue.
  5. Hi tigerG, Thanks for the tip, ill post in that thread. Any extra info over there would be greatly appreciated. Thanks George
  6. "my-category-c-4_44.html" is a sub category of a category called for example "hardware-c-4.html" so its: - hardware-c-4.html - my-category-c-4_44.html In the database for my-category-c-4_44.html: parent_id = 4 category_id = 44 In the database for hardware-c-4.html: parent_id = 0 category_id = 4 I understand that logic behind the IDs and parent ID and these are correct in the database. I don't want to get off topic for your thread, basically I need to understand if the usu5 contrib is attributing to the problem or its solely another issue like this cpath handling you mentioned.
  7. Thanks for the feedback much appreciated. re category parent ids. The parent ID is set in the DB and also referenced correctly. I did the following tests: Example of Original working link: my-category-c-4_44.html Changed parent ID variable in the address bar: my-category-c-_44.html my-category-c-123_44.html my-category-c-5435435_44.html All of these just go to the same category my-category-c-abc_44.html my-category-c-12abc3_44.html These 404 and redirect. As they have letters not just numbers included. Which makes sense. Is this something usu5 touches on and manipulates or is it in the default OS code? Would appreciate being pointed in the right direction of the code if you know where i should be looking. Thanks for your time. George
  8. Hi Robert, I added PRO_r197. replacing v22d_4. I saw one of your posts somewhere basically talking about the gotcha with the URL and google seeing an issue with this in webmastrer tools. i.e my-product-p-100.html can be manipulated to mybull-p-100.html or worse -p-100.html and it would still get to the product page. Well i saw this issue in webmaster tools and also some other with the category rewrites. I believe it went on saying that version 5 resolves this issue. I would appreciate it if I could i get clarification on my results. At the moment the following happens. i.e my-product-p-100.html is fine -p-100.html returns a 404 my-insertbullhere-p-100.html redirect to the product page @ my-product-p-100.html Not sure if this is completely right or not. Also just clarifying that category rewrites have or have not been affected by this contrib? as I am getting duplicate content i.e my-category-c-41_44.html & my-category-c-_44.html thanks in advance.
  9. Hi, I added PRO_r197. replacing v22d_4. I saw one of your posts somewhere (cant find it now wish i could) basically talking about the gotcha with the URL and google seeing an issue with this in webmastrer tools. i.e my-product-p-100.html can be manipulated to mybull-p-100.html or worse -p-100.html and it would still get to the product page. Well i saw this issue in webmaster tools and also some other with the category rewrites. I believe it went on saying that version 5 resolves this issue. Could i get clarification on my results. At the moment the following happens. i.e my-product-p-100.html is fine -p-100.html returns a 404 my-insertbullhere-p-100.html redirect to the product page @ my-product-p-100.html Not sure if this is completely right or not. Also just clarifying that category rewrites have or have not been affected by this contrib? as I am getting duplicate content i.e my-category-c-41_44.html & my-category-c-_44.html thanks in advance.
  10. Thought I would share for those who don't want to restrict shipping options for their customers. If anyone has complaints from their customers that they are receiving an error when they are trying to purchase something from your site: "Paypal does not allow your country of residence to ship to the country you wish" and you are using using the paypal_ipn module on your OsCommerce site. Go to includes/modules/payment/paypal_ipn.php Find $parameters['address_override'] = '1'; and change the value to "0" Customer should now be able to ship to any address even in another country.
  11. Surely this is just a maths thing right. If default product price is 20. Red is 5 extra when adding the attribute Blue is 15 extra... I assume med, large etc will also get a different price. Your just asking "how do I add x for different colour tops" create product option. create option values. when you add the product attributes, append the value price to it.
  12. Its OK I found out the issue. It was a syntax error I created whilst trying to get all the javascript functions in class files pad_xyz.php html validated. If you haven't touched any of these files the function should work out of the box, but it wont validate at W3C. No big deal.
  13. Hi, I am hoping someone will help me out. The QTpro contribution I think uses alert() javascript function to display a message on the screen for example: When a product has an attribute that is Out of stock and you set "Preventing Adding out of stock to cart" to "true" in the admin panel. A message in red should be displayed underneath the drop-down list on the product page saying "The combination of options you have selected is currently out of stock. Please select another combination". It seems that this message is only shown in IE6 browser. All newer browsers are blocking the javascript alert function. Has anyone seen the same thing happen? What happens on your systems? Can someone shed some light or answers to what they believe is the problem or a way around it? Thanks George
  14. Hi, Any historical reason it is sitemapindex.xml not sitemap.xml?
  15. Not sure if anyone tried to validate their output once they added this contribution. I had to wrap the call to FILENAME_SITEMAP_SEO_CATEGORY in a table to fix it. Search for <?php include(DIR_WS_MODULES . FILENAME_SITEMAP_SEO_CATEGORY); ?> in your /product_info.php and /index.php to find the relevant inserted code. Below is the correct code which worked for me. <td class="smallText"><table><?php include(DIR_WS_MODULES . FILENAME_SITEMAP_SEO_CATEGORY); ?></table></td> Regards George
×
×
  • Create New...