Child pages
  • Setting a shop's URL
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

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.example.com or kids.example.com.
    • Domain SSL. If your SSL domain is different from your main domain, be sure to indicate it in that field. Example: www.example.com or kids.example.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.

  • No labels