koalasc Posted December 2, 2014 Share Posted December 2, 2014 Hi, need some help with this.. So whats happening is when anyone goes to the website through a URL link on a search engine either to the /en or /ru of the domain (eg: www.domain.com/en OR www.domain.com/ru) the browser throws back the following; "[Debug] This page has moved Please use the following URL instead:" The website is catered for the Russian market and we have already set the default language to Russian, however, while at times it sends you off to the /en side, it doesn't work at all when you click on the link with the /ru in it. This is a concern as according to the stats, we see people coming into the website and leaving at the Debug error notice. It appears that the end user might be seeing the word "Bug" and leaving.. Setting up a redirect through the hosting account hasn't worked - that only creates a loop and ends up with the /ru/ru/ru/ru/ru/ru/ru/ru/ru/ru/ in the URL. After several days, hosting engineers haven't been able to resolve this issue this is why we are lead to think there is a problem with Prestashop. If there's anything we've missed we'd be grateful if you can lead us in the right direction. Thanks in advance. Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2014 Share Posted December 2, 2014 this happens when we forget to turn off prestashop debug..this should never be on except when we are actually debugging. If you need help turning off/on: http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
koalasc Posted December 2, 2014 Author Share Posted December 2, 2014 Thanks El, I've just changed that setting and we'll see what happens with the stats over the coming days. Is there a way to force people to the /ru side as if the /en didnt exist? We dont want to remove the /en, its ok if the end user selects /en in the menu but we need visitors to land on the /ru first. Thanks again this happens when we forget to turn off prestashop debug..this should never be on except when we are actually debugging. If you need help turning off/on: http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2014 Share Posted December 2, 2014 Hi if PrestaShop version 1.5.6 and higher. Then PS will do basic visitor browser language detect. So if their browser is ru, PS will present ru. You can test this by setting your browser language, clear cookies and visit shop. For anyone looking for more than basic PS language detect see here. Link to comment Share on other sites More sharing options...
Recommended Posts