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
Different link style.
Something like that. For example if using folder on localhost named "wcms" and using /index.php?games in backend its wont work really. I get url http://localhost/index.php?games, but should be http://localhost/wcms/index.php?games instead.
If using this /wcms/index.php?games instead its work, but then I must change or remove "/wcms" in url when moving to root folder online. Maybe I can do this better when working in sub-folder in localhost?
All other link in wcms-system works great, for example menu links etc that is added by wcms-system, but when comes to add customized link its problem when removing to root online later.
If using this /wcms/index.php?games instead its work, but then I must change or remove "/wcms" in url when moving to root folder online. Maybe I can do this better when working in sub-folder in localhost?
All other link in wcms-system works great, for example menu links etc that is added by wcms-system, but when comes to add customized link its problem when removing to root online later.
)-= 1.3.0 user =-(
Maybe you could devise your own system around the HTML <base> tag ???
http://www.w3schools.com/tags/tag_base.asp
http://www.w3schools.com/tags/tag_base.asp