Try our conversational search powered by Generative AI!

XHtmlString doesn't support linking to language url

Vote:
 

Hi,

I need create a link to language version using an XHtmlString property. The html looks like this:

<p class="something">some text <a href="/">link to current language version </a> /<a href="/fi">link to fi language version</a> some more text</p>


After I publish the page both links are directed to the root of the site. It doesn't help even if I create an external link and paste:

http://yoursitename.com/ and http://yoursitename.com/fi

Or

http://yoursitename.com/archive and http://yoursitename.com/fi/archive

Is this by design or is there a way to turn off the conversion of "external"-links that point to your site as internal links? I noticed that the PageReference/Url property has an option to define the language version to the link but XHtmlString link doesn't?

Any advice is appreciated,

#86929
Jun 04, 2014 14:42
* 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.