Вопрос

Here is the scenario:

-I have a friend who owns a magento site, for example abcd.co.uk. -They would like to expand their business to some other European countries, so they have purchased abcd.at, abcd.be, abcd.de etc domains - They want to use the same catalogue, same interface, same everything available on all those domains except, the currency (which is going to be the automatic rate conversion), store addresses, help contact addresses etc. -There are no language translation requirements. Everything will be in English

After reading a plethora of forums and help manuals, this is what we did: -created, 1 website, 1 store and 1 store view, for each of those domains. -configured their urls and currencies at website level. -created a folder called stores within the main magento installation and created individual folders for each of those domains, inside that folder. -copied index.php and .htaccess files to each of those and configured them (to realise later that .htaccess file configuration was in vain as the vps is using nginx).

Question 01. Is this the correct approach for what we need? Or have we missed something or followed any unnecessary steps? Question 02: IF it is the correct approach, could some explain, step by step how to complete the rest of the steps (virtual host configuration using nginx and any other necessary steps, please?

As I’ve mentioned, I did my homework and found plenty of information about how to set up Apache but very patchy information about nginx set up. To make it worse, I know nothing about nginx

Many thanks in advance.

Это было полезно?

Решение

I had similar task once. What I did was:

  1. Single magento folder, single index.php.
  2. Magento has multiple websites/stores/store views with proper URL domain, currency, root category settings.
  3. index.php file is configured to run the store_view depending on the domain.

So how to do this 'dispatching'? It is described here.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top