eZ Platform Discussions

Landing page and multisite

version2

#1

I’ve configured my multi-site.

I have a siteaccess site_a which has as ...tree_root.location_id the landing_page with the locationId 1234 “SiteA”

# src/MyBundle/Resources/config/ezpublish.yml
#ezpublish:
siteaccess:
    list:
      - 'site_a'
    match:
        URIElement: 1
system:
    site_a:
        content:
            tree_root:
                location_id: 1234

In front I have my landing page well when I call the siteaccess :

http://localhost:35080/site_a

Via the BO (Content Structure) I create a new landing_page " Sub Landing page" under “SiteA”.
Front : http://localhost:35080/site_a/Sub-Landing-page
Admin : http://localhost:35080/admin/content/location/1236

In BO, from this new content I launch the studio to administrate the layout
and now I have the following error:

No route found for “GET /site_a/SiteA/Sub-Landing-page” (from “http://localhost:35080/admin/page/1236/eng-GB”)

And indeed the road is either /Home/SiteA/Sub-Landing-page in admin siteaccess or /site_a/Sub-Landing-page in site_a siteaccess.