Setting a shop's URL
Each shop can have its own URL – or even several URLs – entirely independent from the main shop. You must define at least one URL for each shop.
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.
Two shops cannot share the same URL. If you try to give a new shop a URL that is already in use by another shop, PrestaShop will display an error.
On the other hand, you can have as many shops on one domain name as you want:
Using subfolders: http://www.myprestashop.com/men/, http://www.myprestashop.com/women/, http://www.myprestashop.com/kids/, http://www.myprestashop.com/pets/, etc.
In the case of subfolder stores, make sure to create two URLs for each store: one with the "www.", one without it!
For instance: http://www.myprestashop.com/men/ and http://myprestashop.com/men/
Otherwise, customers trying to access your secondary store without the "www." in the URL will be redirected to your main store.
- Using subdomains: http://men.myprestashop.com/, http://women.myprestashop.com/, http://kids.myprestashop.com/, http://pets.myprestashop.com/, etc.
To add a URL to shop, select the shop in the "Multistore tree" selector, and then click on the "Add new URL" button. PrestaShop will load a screen with two sections and eight options:
- URL options.
- Shop. A reminder of the shop to which you are adding a URL. You may also simply switch to another shop.
- Main URL. By enabling this, you indicate that you want all of this shop's other URLs to redirect to this new main URL.
- Status. You can disable and enable a URL at any time.
- Shop URL.
- Domain. The shop's domain name itself. It does not have to be limited to the domain name: you can indicate a sub-domain if you need to. Just make sure to not add '
http://
', or any '/
'. Example:www.myprestashop.com
orkids.myprestashop.com
. - Domain SSL. If your SSL domain is different from your main domain, be sure to indicate it in that field. Example:
www.myprestashop.com
orkids.myprestashop.com
. - Physical URI. Here you must set the physical path to your actual installation on your server. If the shop is at the root of the domain or subdomain, leave this field empty. Example:
/
or/kids/
. - Virtual URI. You can make the shop transparently available to customers using this option: through the power of URL rewriting, you can have your shop be displayed without the need to create a sub-folder. Of course, URL rewriting must be enabled in PrestaShop (meaning Friendly URLs, see the "SEO & URLs" page of the "Preferences" menu). Example:
/shoes/
. Note that this only works for subfolder shops, not subdomain shops. - Your final URL will be. Gives you the impact your URL settings.
- Domain. The shop's domain name itself. It does not have to be limited to the domain name: you can indicate a sub-domain if you need to. Just make sure to not add '