Relative vs Absolute URLS
6 posts by 3 authors in: Forums > CMS Builder
Last Post: October 17, 2008 (RSS)
By avrom - October 16, 2008
I have URL's that need to be absolute (even on the same site) but the Tiny MCE Editor is changing them to relative URLS.
How to over ride this setting ?
Thanx Dave,
Avrom
Re: [virgodesign] Relative vs Absolute URLS
By Donna - October 16, 2008
That's actually been an issue before -- take a look at this thread for more details and workarounds:
http://www.interactivetools.com/forum/gforum.cgi?post=60352#60352
--
support@interactivetools.com
Re: [Donna] Relative vs Absolute URLS
By avrom - October 16, 2008
That is helpful. But I want the option of using either the relative URL or the Absolute URL. But I'm guessing that's not possible ^^ ?
Cheers
Avrom
Re: [virgodesign] Relative vs Absolute URLS
By Donna - October 16, 2008
Well, you could always type in the full http:// when you want an absolute URL, and leave it as the default for relative? Would that work?
--
support@interactivetools.com
Re: [Donna] Relative vs Absolute URLS
By avrom - October 16, 2008
Cheers
Avrom
Re: [virgodesign] Relative vs Absolute URLS
By Dave - October 17, 2008
I just confirmed this on my end. If you enter an absolute url with the same hostname as the host you are currently on then tinymce removes the hostname.
Some options would be to trick it by using a hostname that isn't the one you are on. Or... Trying some different tinymce settings. You can set those in /cmsAdmin/lib/wysiwyg.php
Note that fixing one thing might break another (having all absolute urls might be bad news if you need to change the domain). So you'll want to test it well. Here's some options to check.
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/relative_urls
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/document_base_url
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/remove_script_host
Hope that helps!
interactivetools.com