Expand my Community achievements bar.

SOLVED

Issue with relative links in Experience Fragments (XFs) using Multi Site Manager

Avatar

Level 1

Our company uses the Multi-Site-Manager to manage global roll outs of AEM site pages. When creating content that references internal (relative) links on a site page, the use of the Multi-Site-Manager automatically updates the internal links to the appropriate country/language version.

 

For example, if a page references  /us/en/index.html and that page is rolled out to Italy, the link URL will update to /it/en/index.html so that the page will reference the local Italy homepage.

 

How do we get relative links to work when using experience fragments (XFs)? When XF content contains a link to /us/en/index.html and the page using that XF is rolled out to Italy, we need the link to point to /it/en/index.html. But in our case it doesn't update, and the link remains /us/en/index.html on an page meant for Italy. So the customer is taken to the US page instead.

 

As a result, we are unable to leverage XFs whenever the content contains an internal link. Is there a way to fix XF internal links?

1 Accepted Solution

Avatar

Correct answer by
Level 8
1 Reply

Avatar

Correct answer by
Level 8