Answer the question
In order to leave comments, you need to log in
How to use the same resources in different contexts?
Purpose: to make subdomains for different cities using contexts.
How to make the following scheme work:
site.ru/catalog
city2.site.ru/catalog
city3.site.ru/catalog
where the "catalog" resource is created in only one main context.
Answer the question
In order to leave comments, you need to log in
I solved the issue by creating synonyms for the domain on the hosting.
Displayed different information on different domains using snippets that check the value of the $HTTP_HOST variable
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question