PrestaShop Documentation

PrestaShop Setting a shop’s URL

Each shop can have its own web address (URL) – or even several addresses – entirely independent from the main shop (the first shop you have installed). You must define at least one web address for each shop.

Two shops cannot share the same address. If you try to give a new shop an address 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 a domain name

In case you want to use a different domain name for your supplemental shop rather than a subdomain/subfolder, you must configure your domain to point to the folder where PrestaShop is located. The URL rewriting is then done by PrestaShop itself.

Alternatively, you can create an alias for your domain name that redirects to the absolute URL where your installation of PrestaShop is located. The way to achieve this depends on the control panel and options that your hosting company provides you with: “Alias” for Plesk, “Forward” for CPanel, “Aliasdomain” for ISPConfig, etc.

To add a URL to a 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 the other URLs for this shop to redirect to this main URL (this will switch any other main URL to be a normal 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: or
    • Domain SSL. If your SSL domain is different from your main domain, be sure to indicate it in that field. Example: or
    • Physical URL. 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 URL. 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 “Traffic” menu, in “Shop Parameters”). Example: /shoes/. Note that this only works for subfolder shops, not subdomain shops.
    • Your final URL will be. Gives you the impact that your URL settings above will have on the complete web address to your shop.

Capture%20d%E2%80%99e%CC%81cran%202018 09 07%20a%CC%80%2016.37.06 - PrestaShop Setting a shop's URL



About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →