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?
Hi,
I need create a link to language version using an XHtmlString property. The html looks like this:
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,