Jadzia DeForest Posted August 28, 2015 Share Posted August 28, 2015 I have gone to Preferences -> SEO/URL and enabled: Redirect to the canonical URL. It doesn't do anything. I have tried editing the .htaccess file with several suggestions that have worked for others. And no success. My main website is theguidingtree.com. I have two multistore sites under it and when I put the urls in without the www they show up fine, but with www and they redirect to theguidingtree.com. One of the other stores is deveragifts.com. When I put in www.deveragifts.com it goes to theguidingtree.com. How can I solve this? Link to comment Share on other sites More sharing options...
Jadzia DeForest Posted August 29, 2015 Author Share Posted August 29, 2015 Any help would be great! What is everyone else doing who has multistore with your www.domain.com versus your domain.com for the second shop? Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2015 Share Posted August 29, 2015 what is your prestashop version? i tried to use multistore configuration like yours (different domains) and seems like it is okay in PrestaShop 1.6.1.1 Link to comment Share on other sites More sharing options...
Jadzia DeForest Posted August 29, 2015 Author Share Posted August 29, 2015 My version is 1.6.0.14. But I did figured out how to redirect www and non-www to the same URL in the .htaccess file. Link to comment Share on other sites More sharing options...
Jadzia DeForest Posted September 4, 2015 Author Share Posted September 4, 2015 Solved this by adding this code to the .htaccess file in the root directory. Add code before the START section: RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]</IfModule> (this is the beginning of the rest of this files code) # ~~start~~ Link to comment Share on other sites More sharing options...
Recommended Posts