How do you ensure that links in Page Builder/Preview render with the proper channel domain, and not the Administrative domain?
I have examples where a link that starts with a / renders correctly in Page Builder/Preview and the live site, and also examples where in Page Builder/Preview the link renders with the Administrative domain.
The '~' character doesn't seem to help either, as also sometimes that works and sometimes it doesn't.
And, if I use an RTE to create a new link (that starts with / ), it gets a data-channel-guid
attribute that appears to point to the correct channel and works, but after creating the link I can remove the attribute completely and the link still works.
I having trouble finding a consistent pattern where links do work, and where they don't work.
Environment
- Xperience by Kentico version: [30.2.2]
- .NET version: 8
- Execution environment: SaaS