animuz1 Posted February 25, 2015 Share Posted February 25, 2015 (edited) Hey all, I registered a new domain lately and I thought I had it working untill I found out that www.domain.com works but domain.com redirect to the main store wich is a totally different domain name. According to this post https://www.prestashop.com/forums/topic/336630-redirect-non-www-url-to-www-for-multistore-in-16/?do=findComment&comment=1801953 I had to edit the HTACCES wich I did, but unfortunatly it does not work for me. So what am i doing wrong here? I have made a pointer in directadmin with alias ticked on. The domain we are talking about is EDIT with www, it works but without it goes to my main shop. Now my second question. I have set the second store with the same default template. If i change a tpl file in a module, will both stores be affected? What if i want to have different values for some stuff. How exactly do I know what files are for shop 1 and what for shop2 when i look in filezilla? Edited September 25, 2016 by animuz1 (see edit history) Link to comment Share on other sites More sharing options...
animuz1 Posted February 26, 2015 Author Share Posted February 26, 2015 Ok so clearing cache did the trick.. Now another question.. if htacces auto generates the file, the RewriteEngine settings change from: RewriteEngine OnRewriteCond %{HTTP_HOST} !^www\.RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] to RewriteEngine onRewriteCond %{HTTP_HOST} ^www.my-icover.nl$RewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] Why is this happening and how can i stop this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now