Dawn Posted February 7, 2013 Share Posted February 7, 2013 Hi, i have a problem after disabling all languages except one in my shop. When i enter to it shows a page not available instead the homepage. The rest of pages works fine. Not is a cache problem, nor a browser problem. I regenerate htaccess and friendly urls, and the issue persists. Somebody knows how to solve that problem??? Link to comment Share on other sites More sharing options...
doubleD Posted February 7, 2013 Share Posted February 7, 2013 Hi, i have a problem after disabling all languages except one in my shop. When i enter to it shows a page not available instead the homepage. The rest of pages works fine. Not is a cache problem, nor a browser problem. I regenerate htaccess and friendly urls, and the issue persists. Somebody knows how to solve that problem??? What's your PS version? Did you try to delete .htaccess and create a new one? What happens when you turn off Frienly Urls? Link to comment Share on other sites More sharing options...
Dawn Posted February 7, 2013 Author Share Posted February 7, 2013 (edited) When i disable friendly urls all works fine. I not remove htaccess 'cause all our shops depends of this file, for that is a bad thing do this. My prestashop version is 1.5.2 Edited February 7, 2013 by Dawn (see edit history) Link to comment Share on other sites More sharing options...
doubleD Posted February 7, 2013 Share Posted February 7, 2013 When i disable friendly urls all works fine. I not remove htaccess 'cause all our shops depends of this file, for that is a bad thing do this. My prestashop version is 1.5.2 Then the problem is .htaccess then, or htaccess permissions. You can try to do the following: Backup your .htaccess, change permission to 664 or 666, then turn on url rewriting to generate htaccess. or Open your existing .htacess and make changes by yourself... Link to comment Share on other sites More sharing options...
doubleD Posted February 7, 2013 Share Posted February 7, 2013 (edited) Here is clean htaccess generated by ps 1.5 with 1 language You can use it to replace the part of code you already have with /lang parameters Obviously, You will need to replace "your_domain" by your domain. 1.5.ht.txt Edited February 7, 2013 by doubleD (see edit history) Link to comment Share on other sites More sharing options...
Dawn Posted March 1, 2013 Author Share Posted March 1, 2013 In fact, we have the problem in the sub stores, not in the main domain. An example of the htaccess code for one of this sub stores is: RewriteCond %{HTTP_HOST} ^domain.com$ RewriteRule ^substore1$ /substore1/ [L,R] RewriteCond %{HTTP_HOST} ^domain.com$ RewriteRule ^substore1/(.*) /$1 [L] and then the code of the images (the images are displayed correctly) Sorry for the late answer, i am on other web issues during this time. Link to comment Share on other sites More sharing options...
Recommended Posts