[opencms-dev] OpenCMS or FCKEditor Removing Domain Name from URLs in Links

Richard Hardy rhardy5014 at aol.com
Wed Dec 11 17:14:12 CET 2013


Hi,


We have a problem with our OpenCMS 8.0.2 configuration which I hope someone can help with


The issue is that our site is configured for the domain www.somesite.com


If I go into the HTML editor in OpenCMS (FCKEditor) and add a link like this:


<a href="http://www.somesite.com/folder/page.html">Some Text</a>


and then save and publish the page, when we view the page in the browser, the link URL has been changed to remove the domain name from the URL and we end up with: 


<a href="/folder/page.html">Some Link</a>


The problem is that we need to have the full URL in the link because we are using it to generate HTML emails which are sent to users. Obviously, if they receive a URL containing a URL without a domain name present, they cannot access the link.


I can see that this behaviour is somehow related to links within the managed site, because if I link to another domain, the full URL is preserved.


So, my questions are:


1) Is this removal being done by FCKEditor or OpenCMS itself?
2) Is there an OpenCMS/FCKEditor configuration setting where we can change this behaviour or is there something else I can do to prevent the domain name being removed from the URLs?


Thanks for your help,


Richard Hardy.










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20131211/05c9eb3d/attachment.htm>


More information about the opencms-dev mailing list