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

Christoph Kukulies kuku at physik.rwth-aachen.de
Thu Dec 12 09:45:34 CET 2013


Am 11.12.2013 17:14, schrieb Richard Hardy:
> 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.
>
>

Richard,

Have you tried to switch from FCK-Editor to the default HTML-Editor? (to 
find out whether it's the FCK-Editor).
You can do that in Settings-> Editor->default page editor

Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de






More information about the opencms-dev mailing list