Different link style.
Posted: Mon 7. May 2007, 12:17
What is the best way to link to different page within site? I usually use something like this for example; /sub/index.php or just /sub
because its mush mush shorter then for example:
http://www.phpwcms.de/sub/index.php or http://www.phpwcms.de/sub/index.php
Using /sub/index.php style work well and when some user use it http://www.phpwcms.de or other domain ads automatically before it.
But this is big problem when working with different site in different folder on localhost, if site are not directly in root catalogue. Isnt there any other and better or there is just 4 different ways to link?
Maybe there are solutions for phpwcms, some replacement tag or something to use. Links in phpwcms works good even if site is online or in deferent folder on localhost. But all other customized link in template or redirecting link for catalogue menu etc not work because this.
So if there is any better way to do this, instead of using /sub/index.php etc – please feel free.
Danke
because its mush mush shorter then for example:
http://www.phpwcms.de/sub/index.php or http://www.phpwcms.de/sub/index.php
Using /sub/index.php style work well and when some user use it http://www.phpwcms.de or other domain ads automatically before it.
But this is big problem when working with different site in different folder on localhost, if site are not directly in root catalogue. Isnt there any other and better or there is just 4 different ways to link?
Maybe there are solutions for phpwcms, some replacement tag or something to use. Links in phpwcms works good even if site is online or in deferent folder on localhost. But all other customized link in template or redirecting link for catalogue menu etc not work because this.
So if there is any better way to do this, instead of using /sub/index.php etc – please feel free.
Danke