Answer the question
In order to leave comments, you need to log in
What is the best way to implement the work of the site for different cities?
Hello!
There is a task to make one site on subdomains for each city. That is, there is a subdomain, for example, nn.site.ru - this is a site for Nizhny Novgorod, all content is shown for Nizhny Novgorod. Similarly, there is a subdomain kazan.site.ru, for it information for the city of Kazan.
What is the best way to determine the city in which a person is located and redirect him to the desired domain? It is also possible to choose a city on your own, as, for example, is done on avito.
Perhaps there are ready-made solutions?
Site running Joomla 3.
Answer the question
In order to leave comments, you need to log in
There are libraries that determine the city of the visitor, insert this city into cookies and display the necessary information
https://sypexgeo.net/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question