Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

FreeMartin
Level 1
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
Manjunath_K
Correct answer by
Community Advisor
Community Advisor
1 Reply
Manjunath_K
Correct answer by
Community Advisor
Community Advisor