I have an issue where I am using a live DB locally - whenever someone creates a link or a redirector page within the CMS on a live site to a page within the live site, but not in the sitetree (e.g. for a director rules added page like www.mysite/Secrity/Login or where a parameter is given to a page - so again is not in the sitetree) they are creating it with "http://www.mysite.com/urlsegment" - where as to access the site locally I want to use "urlsegment".
These are being added to the "external" website - is there a workaround to allow custom pages on the same site but without providing the "http://www.mysite.com/" bit?
thanks for the help but both prepending "/" or "[sitetree_link_id=]#/" didn't have the desired result - the links were still being shown as http://<whatever I type> instead of being relative to the URL. If this works for you what version are you on?