Child pages
  • Ustalanie nowego adresu URL sklepu

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 that 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:

...

Ustalanie nowego adresu URL sklepu

Każdy sklep może posiadać własny adres URL - albo nawet klika adresów, całkowicie niezależnych od sklepu głównego (pierwszego, jaki zainstalowałeś).
Musisz określić co najmniej jeden adres dla każdego sklepu.

Dwa sklepy nie mogą dzielić tego samego adresu.  Jeśli spróbujesz przypisać nowy sklep do adresu, z którego korzysta już inny sklep, PrestaShop wyświetli błąd.
Z drugiej strony, w ramach jednej domeny, możesz mieć tyle sklepów ile chcesz:

Warning

Do not create any subdomain or subfolder yourself, either on your server or your computer: PrestaShop takes care of creating the path for you on your server. When the customer requests this path, PrestaShop will recognize the shop and serve the files and data for the correct store automatically.

...

Nie twórz poddomen albo podkatalogów samodzielnie, ani na komputerze, ani na serwerze. PrestaShop zajmie się utworzeniem ścieżek za Ciebie na Twoim serwerze. Gdy klient zarząda ścieżki, PrestaShop rozpozna sklep i wskaże automatycznie pliki oraz dane do prawidłowego sklepu.

Oczywiście sklep może posiadać własną domenę.

Info
titleUsing 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 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 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:

...

  • 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.

...

Jeśli chcesz korzystać z innej omeny dla dodatkowego sklepu zamiast skorzystać z podkatalogu czy poddomeny, musisz skonfigurować domenę wskazując katalog, gdzie znajduje się PrestaShop. Przepisywanie adresów URL odbywa się w PrestaShopie.

Alternatywnie, możesz utworzyć alias dla swojej domeny, który przekierowuje ruch do adresu absolutnego, gdzie znajduje się Twoja domena. To, jak to zrobisz, zależy od panelu kontroli i opcji, które udostępni Ci Twoja firma hostingowa. Szukaj "Alias" w przypadku Plesk, "Forward" w przypadku CPanel, "Aliasdomain" w przypadku ISPConfig, etc.

Aby dodać adres URL, zaznacz sklep w tabeli Multisklep, naciśnij przycisk "Kliknij tutaj, aby określić URL dla nowego sklepu.PrestaShop załaduje nowy formularz z kilkoma opcjami:

  • Opcje URL.
    • Sklep. Przypomnienie, dlq którego sklepu chcesz dodać adres URL. Możesz też zmienić sklep na innym.
    • Czy to główny adres URL dla tego sklepu.Jeżeli ustawisz ten URL jako główny URL dla wybranego sklepu, wszystkie adresy URL ustawione do tego sklepu będą przekierowane do tego URL (możesz mieć tylko jeden Główny URL na sklep).
    • Włączony. Możesz włączyć lub wyłączyć adres URL, kiedy chcesz.
  • Adres URL sklepu.
    • Domena. Domena sklepu,, nie musi być ograniczona do nazwy domeny, możesz także wskazać nazwę poddomeny, jeśli potrzeba. Upewnij się tylko, że nie podasz żadnego "http://" ani "/", na przykład: www.example.com albo kids.example.com.
    • Domain Domena SSL. If your SSL domain is different from your main domain, be sure to indicate it in that field. ExampleJeśli domena SSL różni się o Twojej domeny głównej, upewnij się, że ją tutaj wprowadziłeś. Na przykład: www.example.com or albo 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 that your URL settings above will have on the complete web address to your shopFizyczny URL. To jest fizyczny folder w którym znajduje się Twój sklep na serwerze. Pozostaw to pole puste jeżeli Twój sklep jest zainstalowany w katalogu głównym. Na przykład, jeżeli Twój sklep jest dostępny pod adresem URL www.mojastrona.pl/buty/, musisz wstawić /buty/ w tym polu.
    • Wirtualny URL. Możesz sprawić, że sklep będzie transparentnie dostępny dla klientów korzystając z tej opcji:  za pomocą mocy drzemiącej w przepisywaniu adresów URL, możesz wyświetlać Twój sklep bez konieczności tworzenia podkatalogu. Oczywiście funkcja przepisywania, musi być włączona najpierw w PrestaShopenie (patrz strona Preferencje->SEO & URL). Na przykład: /buty/. Pamiętaj o tym, że działa to wyłącznie dla podkatalogów, ale nie dla subdomen.
    • Ostateczny adres URL. Pokazuje Ci, jak powyższe ustawienia określą finalny adres URL sklepu.