A
A
Anto2018-06-21 09:42:49
1C-Bitrix
Anto, 2018-06-21 09:42:49

How to make multi-site with divisions by city?

Hello!
Tell me how on Bitrix you can implement multisite by city with the output of information for a given city. For example: the site - site.ru chose Omsk, the address changed to - omsc.site.ru and the information is displayed and the filter works only for this city.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Petr Vasiliev, 2018-06-21
@danial72

You need to make a link to the folder of the main domain, then register the subdomain in the configuration of your web server, add subdomain processing and set the global variable to the site code, and set the necessary filters in each component depending on the global city variable.
If what you wrote is porridge for you - go to the freelance exchange and give money to the freelancer

N
Nikita, 2018-06-21
@Rema1ns

Another option is to use not multi-site, but in htaccess pass the subdomain as a variable,
such as omsk.site.ru will refer to site.ru/?city=omsk. City into a global variable and filter out the content

V
Vladimir Kai, 2018-06-21
@gold_dezmor

Expensive, but working method with simple integration
https://marketplace.1c-bitrix.ru/solutions/aristov...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question