almed Posted April 24, 2013 Share Posted April 24, 2013 Hi all. I have some problem with configuring multishop. I needed to have a multishop like this: shop1: www.mysite.com shop2: www.mysite.com/shop2 Using prestashop guide, I created shop2 (importing all but products and categories from shop1) and I set the URL at www.mysite.com/shop2. The problem is that at www.mysite.com/shop2 I get the 404. This page is not availableWe're sorry, but the Web address you've entered is no longer available. To find a product, please type its name in the field below. Search our product catalog: Shop1 works at www.mysite.com. URL rewrite is on and works for products and categories of shop1. .htacces was automatically set for: RewriteEngine onRewriteCond %{HTTP_HOST} ^www.mysite.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] and # DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.mysite.com$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.mysite.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] RewriteCond %{HTTP_HOST} ^www.mysite.com/shop2$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] I have the domain at godaddy but nameservers link to my current host, where i can find: shop2.mysite.com CNAME www.mysite.com and List of sub-domains + DETAIL TARGET : shop2.mysite.com http://mysite.com/shop2 I've tried to move shop2 at www.mysite.com and shop1 at www.mysite.com/shop2. In this case, I can see shop2 at www.mysite.com, but at www.mysite.com/shop2 I still get the 404. I think there is an easy solution but I'm noob and I can't see it. Thank you in advance for your answers and helps. Link to comment Share on other sites More sharing options...
AndyLaw Posted April 26, 2013 Share Posted April 26, 2013 Did you just copy your content to '/shop2' directory or did you actually run separate installation to this folder ? You probably get this error, because path of your data is invalid and there are still include lines which use old (original) path of where files were located. Link to comment Share on other sites More sharing options...
almed Posted April 26, 2013 Author Share Posted April 26, 2013 Thanks for the reply. In reality there is no folder /shop2. I followed the instructions HERE and they say: Do not create any URL manually, either on your server or your computer: PrestaShop takes care of creating the URL for you on your server. When accessing this URL, PrestaShop will direct visitors to the correct store automatically. If I access the folder /www via ftp, I see no folder /shop2. Should there be? There are known limitations of hosts that can prevent PS to automatically create the folder? Thanks, Link to comment Share on other sites More sharing options...
almed Posted April 30, 2013 Author Share Posted April 30, 2013 ok. i made a backup. i installed a clean 1.5.4.1 version. i tried to create a new shop. mysite.com/shop2 is still at 404! should be a problem with my host (infomaniak)? should be that guide isn't reliable at Do not create any URL manually, either on your server or your computer: PrestaShop takes care of creating the URL for you on your server. When accessing this URL, PrestaShop will direct visitors to the correct store automatically. ? Thanks. Link to comment Share on other sites More sharing options...
kendonpark Posted July 30, 2013 Share Posted July 30, 2013 Any fix for this problem. I continue to have 404 errors on all add on shops. Link to comment Share on other sites More sharing options...
almed Posted July 30, 2013 Author Share Posted July 30, 2013 in my case, it was a big error on my side. you can find solution of my problem HERE. hope works for you too Link to comment Share on other sites More sharing options...
kendonpark Posted July 30, 2013 Share Posted July 30, 2013 I did the exact same thing. I had the physical url folder name and the add on store name listed in the Physical URL field. My thought was that I was not using Virtual URLs. I listed the Physical URL folder name in the proper field and listed the add on store name in the Virtual URL field and it works as it was designed. Thanks so much! Link to comment Share on other sites More sharing options...
almed Posted July 30, 2013 Author Share Posted July 30, 2013 I think, right now, that the guide isn't very clear on this point.. 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