I’m wondering if is it possible to define tow routes having same path, in wish way the first route works on the first siteaccess and the second one works on the second.
Imagine we have 2 siteaccess: site_1 and site_2
Under routing.yml we have this 2 routing configurations:
site_1_bundle.sitemap: path: /sitemap.xml controller: Site1Bundle\Controller\SitemapController::index
site_2_bundle.sitemap: path: /sitemap.xml controller: Site2Bundle\Controller\SitemapController::index