How can I create links using relative urls instead of absolute urls?
Use the built-in
Path: InterMap link. Anything following the
Path: is used as a relative url, thus on this site Path:../PmWiki refers to the PmWiki group, and Path:/PITS is the same as http://www.pmwiki.org/PITS.