♥DAVID3733 Posted September 22, 2017 Share Posted September 22, 2017 22 minutes ago, DAVID3733 said: Hi There I have just spent a few hours trying to read all the posts and the only similar items i can find link to non existent pages so i will ask the question I have 2.3.4BS with USU5 installed All works as it should apart from child categories example-c-123.html and example-c-123_456.html both show as pages, the first having been moved to category 456 at a later stage, canonical is different for them so the first one is now duplicate data I would have thought that the former should 301 to the latter but it does not Does anybody know how i can fix this? Thank you David sorry should have been example-c-123.html and example-c-456_123.html Quote David Link to comment Share on other sites More sharing options...
RMD27 Posted September 22, 2017 Share Posted September 22, 2017 pretty sure it wont 301 for you. you will have to do that manually Quote Link to comment Share on other sites More sharing options...
CGhoST Posted October 5, 2017 Share Posted October 5, 2017 I believe the language files need to be updated for latest BS Edge unless i have done something wrong. This is the error i get when i click on a product: Fatal error: Cannot redeclare class language in /includes/classes/language.php on line 16 If i disable language support it works fine. Also the Twitter Typeahead support. Where do i implement the code posted previously please. Quote Link to comment Share on other sites More sharing options...
PiLLaO Posted October 18, 2017 Share Posted October 18, 2017 Hello, No one uses a standard oscommerce page in 404 error??? I'm getting mad to make it work :( Quote Link to comment Share on other sites More sharing options...
allaboutwicker Posted October 19, 2017 Share Posted October 19, 2017 @PiLLaO I would check into installing this addon which helped me: Header Status Handler Quote Link to comment Share on other sites More sharing options...
PiLLaO Posted October 20, 2017 Share Posted October 20, 2017 @allaboutwicker thanks for you answer, I prefer don't install more addons to do this. The problem is that usu5 shows a statict page instead of a standard oscommerce page, so the categories box are not showed. Thank you so much :) Quote Link to comment Share on other sites More sharing options...
nafri Posted October 25, 2017 Share Posted October 25, 2017 hi guys i have been using addon for a very long time. Now I need to remove this addon. when i disable this addon in the admin side the url revert back to original oscommerce format. But when i click on any spidered index html link it doesn't load the product page, it goes straight to index page. I think i need to rewrite the RewriteRule .Any help please.. Quote Link to comment Share on other sites More sharing options...
♥John W Posted October 25, 2017 Share Posted October 25, 2017 @nafri You should correct this soon because it's going to affect your ranking. Off hand, you can make redirects in your htaccess like this. Redirect 301 /spidered-link-p-865.html /oscommerce-link.php This will be labor intensive to do by hand, but you can get a list of failing links at webmaster tools. You can use a tool like regexbuddy or an editor and write a simple regex to capture the original link and create these rules. If you don't know what i mean, post a couple examples of your old link and oscommerce link and I'll show you. Quote I'm not really a dog. Link to comment Share on other sites More sharing options...
mmotala10 Posted October 25, 2017 Share Posted October 25, 2017 Hi All I just wanted some advice on something, I installed SEO URL's and obtained this error: Quote Warning: Can not find cache system: sqlite - supported in /home/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 521Fatal error: Call to a member function retrieve() on boolean in /home/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 531 After which, I changed the cache system from sqllite to mysql and the error disappeared. So my question is, would changing the caching system affect how the add-on would work in any way? Significantly or insignificantly? Quote Link to comment Share on other sites More sharing options...
nafri Posted October 25, 2017 Share Posted October 25, 2017 9 hours ago, John W said: @nafri You should correct this soon because it's going to affect your ranking. Off hand, you can make redirects in your htaccess like this. Redirect 301 /spidered-link-p-865.html /oscommerce-link.php This will be labor intensive to do by hand, but you can get a list of failing links at webmaster tools. You can use a tool like regexbuddy or an editor and write a simple regex to capture the original link and create these rules. If you don't know what i mean, post a couple examples of your old link and oscommerce link and I'll show you. i tried this and it works . is this correct. RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php?products_id=$2 [R=301,NC,L,QSA] Quote Link to comment Share on other sites More sharing options...
♥John W Posted October 26, 2017 Share Posted October 26, 2017 Looks good. Just track it and make sure you don't have any 404s that you shouldn't. Quote I'm not really a dog. Link to comment Share on other sites More sharing options...
♥Moxamint Posted November 15, 2017 Share Posted November 15, 2017 Hi, I am using Ultimate Seo Urls 5 for Responsive Oscom (https://apps.oscommerce.com/Hj4y0&ultimate-seo-urls-5-for-responsive-oscom) and have not encountered any issues with it. However, one of my languages is Japanese, which is a multi-byte language. When I had all special characters filtered out, the URLs basically have nothing left but something like "-c-5_9.html". Is it possible to force all languages to use and only use the SEO URLs of the default language (English)? Since Japanese SEO URLs still have /ja/ as part of the URL, (I think) the Japanese pages will still be properly indexed. Thanks in advance if anyone could give me some ideas on how to do this. Cheers, Eddy Quote Link to comment Share on other sites More sharing options...
piernas Posted November 16, 2017 Share Posted November 16, 2017 I don't use this feature but there's a "SEO title" apart of the "title" of the product. Maybe you can use one for SEO and the other for being shown in the product? Quote Link to comment Share on other sites More sharing options...
leatherdealer Posted January 22, 2018 Share Posted January 22, 2018 Hi nice Addon. Works like a charm in the english version. But I also have a shop in polish language and the character conversion doesn't seem to be working properly. Some special characters are not displayed correctly and will be replaced by a "?". See attached screenshot below Quote Link to comment Share on other sites More sharing options...
RMD27 Posted January 22, 2018 Share Posted January 22, 2018 Character encoding, maybe you need to use the old method leatherdealer 1 Quote Link to comment Share on other sites More sharing options...
leatherdealer Posted January 24, 2018 Share Posted January 24, 2018 The file based character conversion also doesn't work... Not even with german language. Quote Link to comment Share on other sites More sharing options...
mcmannehan Posted January 29, 2018 Share Posted January 29, 2018 On 25.1.2018 at 4:10 AM, leatherdealer said: The file based character conversion also doesn't work... Not even with german language. Read this please: leatherdealer 1 Quote The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
leatherdealer Posted January 29, 2018 Share Posted January 29, 2018 Okay that fixed it for me. But I have a further question. Does anybody know how to remove the .html and -p / -c from the url ? Quote Link to comment Share on other sites More sharing options...
mcmannehan Posted January 30, 2018 Share Posted January 30, 2018 8 hours ago, leatherdealer said: Okay that fixed it for me. But I have a further question. Does anybody know how to remove the .html and -p / -c from the url ? This should not be changed, if you have products with the same name and you put away the 'p' than the link is not correct. 'p' is the unique products number. To change the .html you have to change the code, but in my opinion you should not change that. The 'c' you can configure in your adminarea. Go to configuration-> SEO urls 5. Further i recommand you, read the manuel for the SEO url 5. Quote The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
Psytanium Posted February 6, 2018 Share Posted February 6, 2018 Hello, sometimes an error appear in the product listing page for few days then it goes away on its own. I attached a screenshot, can someone suggest the problem ? thanks :) Quote Link to comment Share on other sites More sharing options...
RMD27 Posted February 6, 2018 Share Posted February 6, 2018 what is on line 111? Quote Link to comment Share on other sites More sharing options...
Psytanium Posted February 6, 2018 Share Posted February 6, 2018 3 minutes ago, RMD27 said: what is on line 111? foreach ( $text_array as $key => $text ) { Quote Link to comment Share on other sites More sharing options...
RMD27 Posted February 6, 2018 Share Posted February 6, 2018 maybe this will help Quote Link to comment Share on other sites More sharing options...
♥frankl Posted February 6, 2018 Share Posted February 6, 2018 (edited) @Psytanium I found this on the forum a long time ago: In includes/modules/ultimate_seo_urls5/page_modules/index.php find if ( false === $text_array ) { and change it to // Change to fix PHP Warning: Invalid argument supplied for foreach() in /home/user/public_html/includes/modules/ultimate_seo_urls5/page_modules/index.php on line 111 //if ( false === $text_array ) { if ( false == $text_array ) { I haven't had any problems since then. Edited February 6, 2018 by frankl mcmannehan 1 Quote osCommerce user since 2003! Link to comment Share on other sites More sharing options...
burt Posted February 6, 2018 Share Posted February 6, 2018 It is telling you that sometimes, for unknown reason... $text_array is not an array. A foreach therefore...cannot work. Try this; foreach ( (array)$text_array as $key => $text ) { Which forces $text_array as an array. Psytanium and John W 1 1 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.