You did not understand me.
Look at the screenshot.
Sidebar "All Locations" shows the correct locations in which ads exist, but does not redirect to the correct subdomain, it remains on the domain where the visitor is currently located, and for this reason, when choosing a location that is different from the country (subdomain) where the visitor is currently located, the site goes to the page of available advertisements, but does not show any advertisements. For example, in the screenshot I am now on the subdomain "belgium.site.com", but in the sidebar it shows locations from another country (subdomain) "germany.site.com", when I try to go to a location that belongs to another country "germany.site .com" - the site does not change the subdomain (country) and simply goes to the page "belgium.site.com/capital-region-r8418538" by simply adding the region at the end of the url without changing the main subdomain and for this reason the announcement page is empty, because the announcements exist only on the subdomain of the country in which the ads are located.
How to solve this problem?