Try our conversational search powered by Generative AI!

Relative Link Content Outside Start Page

Vote:
 

what I want:

login

what I get:

login

I'm setting up a multi-tenant site. I want to have some shared content, which I'm placing in a container page outside of all the start pages.

I also want to be able to link to things like the login page for the current site from the shared content within an XhtmlString property.

However, when I enter relative paths into the "external link" option for a page that exists on the site I'm editing from, episerver resolves the link to the content and I get a content reference link to the site I'm editing from instead of a realtive path.

Is there any way to defeat this and allow relative links to remain. Or and event I can listen to or provider I can override that will allow me to rewrite and domain when the link is rendered?

#176413
Mar 18, 2017 1:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.