From 62530eb3ff51b032d6a797c174d2c7688de2032c Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 10 Apr 2026 17:17:24 +0200 Subject: [PATCH 1/4] multisite_configuration.md: Fix and complete excluded_uri_prefixes example --- docs/multisite/multisite_configuration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/multisite/multisite_configuration.md b/docs/multisite/multisite_configuration.md index 8a35200057..7954c0486c 100644 --- a/docs/multisite/multisite_configuration.md +++ b/docs/multisite/multisite_configuration.md @@ -184,13 +184,14 @@ ibexa: content: tree_root: location_id: 42 - excluded_uri_prefixes: [/media, /images] + excluded_uri_prefixes: [/media/, /images/] index_page: /EventFrontPage ``` - `location_id` defines the location ID of the content root for the SiteAccess. - `excluded_uri_prefixes` defines which URIs ignore the root limit set by using `location_id`. -In the example above, to access the Media and Images folders, you can use their own URI, even though they're outside the location provided in `content.tree_root.location_id`. + In the example above, to access the Media and Images folders, you can use their own URI, even though they're outside the location provided in `content.tree_root.location_id`. + It's an array of prefixes. So, for example, `[/media]` would also exclude `/mediation` from root limit. - `index_page` is the page shown when you access the root index `/`. !!! note From 372f1eab48c6bdd559358bdfdb3e594aa0e377fe Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 10 Apr 2026 17:20:17 +0200 Subject: [PATCH 2/4] cp_page_builder.md: Fix excluded_uri_prefixes usage --- docs/customer_management/cp_page_builder.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/customer_management/cp_page_builder.md b/docs/customer_management/cp_page_builder.md index f2152934f4..69e3bdd6b6 100644 --- a/docs/customer_management/cp_page_builder.md +++ b/docs/customer_management/cp_page_builder.md @@ -52,7 +52,7 @@ ibexa: content: tree_root: location_id: location_id_of_customer_portal - excluded_uri_prefixes: [ /media, /images ] + excluded_uri_prefixes: [ /media/, /images/ ] ``` Next, under the `ibexa.system.admin.page_builder` [configuration key](configuration.md#configuration-files), add `custom_portal` to [the SiteAccess list available to Page Builder](multisite_configuration.md#siteaccesses-and-page-builder): @@ -136,7 +136,7 @@ ibexa: content: tree_root: location_id: location_id_of_customer_portals_root_folder - excluded_uri_prefixes: [ /media, /images ] + excluded_uri_prefixes: [ /media/, /images/ ] ``` Next, under the `ibexa.system.admin.page_builder` [configuration key](configuration.md#configuration-files), add `custom_portal` to [the SiteAccess list available to Page Builder](multisite_configuration.md#siteaccesses-and-page-builder): @@ -234,7 +234,7 @@ ibexa: content: tree_root: location_id: location_id_of_customer_portals_root_folder - excluded_uri_prefixes: [ /media, /images ] + excluded_uri_prefixes: [ /media/, /images/ ] ``` To generate the Customer Portal menu you should use `customer_portal.menu.main` key: From 0cb98f21c71a0919a519eeee1b7ace8ac51a1cc3 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 10 Apr 2026 17:22:21 +0200 Subject: [PATCH 3/4] set_up_campaign_siteaccess.md: Fix excluded_uri_prefixes usage --- docs/multisite/set_up_campaign_siteaccess.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/multisite/set_up_campaign_siteaccess.md b/docs/multisite/set_up_campaign_siteaccess.md index 83030c9056..e512fbe7ab 100644 --- a/docs/multisite/set_up_campaign_siteaccess.md +++ b/docs/multisite/set_up_campaign_siteaccess.md @@ -60,7 +60,7 @@ ibexa: content: tree_root: location_id: 57 - excluded_uri_prefixes: [ /media/images/logos ] + excluded_uri_prefixes: [ /media/images/logos/ ] ``` Now, when you use the `campaign` SiteAccess, you can reach `/campaign/Media/Images/Logos`, despite the fact that it's not a sub-item of the "Campaign" location. From 55887319f96391d3327535dfe2aac9a3ca53c6ec Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 10 Apr 2026 17:29:59 +0200 Subject: [PATCH 4/4] set_up_campaign_siteaccess.md: link to multisite_configuration.md#location-tree --- docs/multisite/set_up_campaign_siteaccess.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/multisite/set_up_campaign_siteaccess.md b/docs/multisite/set_up_campaign_siteaccess.md index e512fbe7ab..506e188a68 100644 --- a/docs/multisite/set_up_campaign_siteaccess.md +++ b/docs/multisite/set_up_campaign_siteaccess.md @@ -51,7 +51,7 @@ Thanks to this configuration, you can access `/campaign/Articles/Arti ## Reuse content Finally, reuse some content between sites, for example "Logos" from "Images/Media". -You can allow the `campaign` site to access them, even though they're in a different part of the tree, via `excluded_uri_prefixes`: +You can allow the `campaign` site to access them, even though they're in a different part of the tree, via [`excluded_uri_prefixes`](multisite_configuration.md#location-tree): ``` yaml ibexa: