Relative Link

Permalink
When i insert a link using the "insert link into page", i get an absolute link likehttp://www.mywebsite.com/about . I would like a relative link so that if i transfer my website, the links direct to the right pages. Is there a short code i can use together with the page id or the page name to make a relative link?

Instead of
http://www.mywebsite.com/about

I would like to use something like
shortcode(siteurl)/about

 
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Links generated by the Insert Link to Page are updated when the site is transferred.

If you click the source button when you are editing (button which says HTML) you will see it actually made a link like:http://localhost/testing/index.php?cID=227...

Which is then parsed and turned into mywebsite.com/whatever-227-corresponds-to