This example shows you how to setup TinyMCE to produce different results for it’s URLs in images and links. You can read more about these config options in the TinyMCE FAQ
tinyMCE.init({ mode : "exact", elements : 'absurls', theme : "advanced", plugins : 'advlink,advimage', relative_urls : false }); tinyMCE.init({ mode : "exact", elements : 'abshosturls', theme : "advanced", plugins : 'advlink,advimage', relative_urls : false, remove_script_host : false }); tinyMCE.init({ mode : "exact", elements : 'relurls', theme : "advanced", plugins : 'advlink,advimage', relative_urls : true // Default value }); tinyMCE.init({ mode : "exact", elements : 'relurlstopage', theme : "advanced", plugins : 'advlink,advimage', relative_urls : true, // Default value document_base_url : 'http://tinymce.moxiecode.com/' }); tinyMCE.init({ mode : "exact", elements : 'nourlconvert', theme : "advanced", plugins : 'advlink,advimage', convert_urls : false });