Ali Samie Posted June 12, 2022 Share Posted June 12, 2022 (edited) [SOLVED] What do I have? A website: domain.com Prestashop installed in: prestashop.domain.com Multistore is enabled What do I want? Multiple shops in subdomains like: someshop.domain.com anothershop.domain.com What did I do before asking? Check and followed: Prestashop Docs for PS17: Setting a shop's URL Created multiple shop in prestashop.domain.com like: someshop.domain.com anothershop.domain.com This is the setting for someshop.domain.com : What is the problem? someshop.domain.com does not show anything and it does not work ------------------------------ UPDATE: SOLVED Special thanks to @Prestachamps ❤️ What is the technical issue? Web server does not know that where is someshop.domain.com and you need to tell your web server to point to specific route How to solve this generally? You should find out how to set up subdomains in your web server. Then create a subdomain for each shop that belongs to multi stores list like: someshop.domain.com Point the subdomain to Prestashop instance route. This means: someshop.domain.com will always load prestashop.domain.com But it does NOT redirect to prestashop.domain.com (This is key point) This pointing is meant to work like rewriting, NOT redirecting. Otherwise it does not work. How to solve this in cPanel? Create a subdomain of someshop set Document Root to prestashop.domain.com Edited June 16, 2022 by stifler97 Add solved tag (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted June 13, 2022 Share Posted June 13, 2022 Hi @stifler97 you should solve it by doing the following: when creating the subdomains someshop.domain.com & anothershop.domain.com , point them to the physical path of prestashop.domain.com after this, when you will add these URLs to the multistore configuration or Prestashop, they should work. I hope that I could help. Have a nice day, Leo. 1 Link to comment Share on other sites More sharing options...
Ali Samie Posted June 16, 2022 Author Share Posted June 16, 2022 Hi @Prestachamps😍❤️ I want to tell you that it worked for me pretty well and easy. I would like you to know that you are a master. Thanks a lot for helping. I hope one day I can get to a point in my life like the one you have reached in helping others and giving back to the community. Thank you very much for your time. You have just saved me. 1 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