Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mingwatrading

Pioneers
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    MingWaTrading

mingwatrading's Achievements

  1. This post only describes how to modify USU5 PRO to accept Chinese characters in the URI. If you have any other problems when using USU5 or USU5 PRO, please go to following topic. ultimate-seo-urls-5-by-fwr-media File - /catalog/includes/modules/ultimate_seo_urls5/main/validator.php Find: Usu_Main::i()->setVar( 'request_compare_in', remove_session_id( htmlspecialchars_decode( Usu_Main::i()->getVar( 'original_request_uri' ) ) ) ); Replace: Usu_Main::i()->setVar( 'request_compare_in', remove_session_id( htmlspecialchars_decode( urldecode( Usu_Main::i()->getVar( 'original_request_uri' ) ) ) ) ); Root Cause: In Usu_Validator::validate() function, it will compare the 'incoming seo uri' and 'new seo uri', it will fail to go to desired page if thry are different. However, the encoded 'incoming seo uri' always different to decoded 'new seo uri' when URLs has Chinese. To solve this problem, you could simply add urldecode function when setting 'incoming seo uri'. Credits: Robert Fisher - FWR Media Thanks to Rob for kindly help
  2. Don't worry, It is just a demo site for testing purpose. All content is demo data, no real data. This testing site was new setup few minutes before I posted the link. It suppose no cache data. I had tried to disable the cache in 'Seo Urls 5 PRO' or clear the cache data, problem still happens. However, this problem does not happen in previous version 'Seo Urls 5' which I am using right now.
  3. uri format: standard, path_standard Testing Site: My Test Admin ID : AdminID Admin Pwd: my_password Testing Sample: [English] Testing Cat > Testing Product 001 [Chinese] 測試目錄 > 測試產品001 Thank you for your big help
  4. It is kindly reminder to review all code which is using these pattern 'defined(...) && ...'. By the way, it is great contribution I never seen before. The Chinese URLs show properly but fail to redirect to desired page, I would like to ask the mapping of SEO URLs and real URLs or could you please tell me which script get the SEO URLs(Chinese URLs) and redirect to real URLs? Thank you so much
  5. I did not use conversion file but simply set 'Output W3C valid URLs?' to false when using 'ULTIMATE Seo Urls 5'(not PRO), then the Chinese URL was shown and the Chinese hyperlink work fine. I traced the code and found out that 'Output W3C valid URLs?' could not work properly in 'ULTIMATE Seo Urls 5 PRO'. It always 'return htmlspecialchars(utf8_encode($link))' even 'Output W3C valid URLs?' set to false in 'ULTIMATE Seo Urls 5 PRO'. I removed the uft8_encode for testing purpose. The Chinese URL had shown properly, however, the Chinese hyperlink could not redirect to desired page. I am still tracing the redirect code.
  6. Thank you very much with this great contribution. I used ULTIMATE Seo Urls 5 before and recently upgraded to PRO but I had problem when using ULTIMATE Seo Urls 5 PRO. There is Mojibake in URL when the category or product is Chinese. The Chinese URL could be shown properly when ULTIMATE Seo Urls 5. Could you please help? OSC version: osCommerce Online Merchant v2.2 RC2a PHP version: 5 MySQL version: 5 Server: Apache Screen Cap http://picasaweb.google.com/mingwatrading/YOErsI?feat=directlink
  7. Thank you very much with this great contribution. I used ULTIMATE Seo Urls 5 before and recently upgraded to PRO but I had problem when using ULTIMATE Seo Urls 5 PRO. There is Mojibake in URL when the category or product is Chinese. The Chinese URL could be shown properly when ULTIMATE Seo Urls 5. It is fine when using English. Could you please help? OSC version: osCommerce Online Merchant v2.2 RC2a PHP version: 5 MySQL version: 5
×
×
  • Create New...