Jump to content

Setting Up Multistore on Localhost


Recommended Posts

Trying to set up a multistore locally before migrating to our servers, but each time I try adding Shop2 I am unable to access it and instead receive a 500 Internal Server Error. What am I doing wrong?

 

My main shop is located at localhost/prestashop/ and the URL that I input to add a new store is localhost/prestashop/publishers/. I've also added it under the URL localhost/publishers/ and received a 404 Not Found error.

 

Any advice would be appreciated, I'm fairly new at working with things like this.

 

Thanks

Link to comment
Share on other sites

  • 4 months later...

You need to put "localhost" on Domain and SSL Domain in admin panel, for both shops. In Physical URL put only directory path, like /prestashop or /prestashop/publishers.

You also have to make second store as alias of first-main store. Go to C:\xampp\apache\conf\httpd.conf and find alias section. Under

# Alias /webpath /full/filesystem/path

,

write 

Alias /prestashop/publishers "C:/xampp/htdocs/prestashop"

Save the file and restart your local server.

Link to comment
Share on other sites

×
×
  • Create New...