[pmwiki-users] Re: relative links

chr at home.se chr at home.se
Wed Apr 13 15:10:51 CDT 2005


On Wed, 13 Apr 2005 pmwiki at flisch.net wrote:

> I would like to make links external to the wiki, but relative in terms 
> of the web server.  In other words to another part of my website, 
> without having to specify an absolute URL.  Is this possible?

Yes, it's even quite easy. IIRC, all you have to do is specify $ScriptUrl 
using a relative path... same for $PubDirUrl. However, I think there was 
something that breaks when using a relative $ScriptUrl, but I can't 
remember what right now.

cheers
Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list