| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2008
Posts: 2
|
Links to page names or folders?
Hi all, Just thought I'd join up and get picking youir brains straight away! I was just wondering how you guys approach this, when you link pages within your web sites, how do you do it? My past practice has been to link everything together by page file name such as: website.com/news.htm website.com/services.htm But I've noticed that a lot of sites will just link to a directory, like this: website.com/news website.com/services So would that mean that they are setting up a seperate folder for each section with an index page in each one? It seems a much tidier way of doing it, but I'm just wondering if there would be any impact by choosing this method. I hope this makes sense... Adam ~ |
|
|
|
|
|
#2 (permalink) |
|
trouble free and loverlee
Join Date: Mar 2003
Location: YooKay
Posts: 2,854
|
They could be creating directories for each section, with an index/default file which is automatically and invisibly used by the server. - or - They could be using mod_rewrite or a similar, server-side mechanism which takes the 'directory' and automatically and invisibly sends a rewritten version of the url to the server. e.g. website.com/news -> website.com/index.php?section=news |
|
|
|
#4 (permalink) |
|
competitionmaster 2.0
Join Date: Oct 2006
Location: USA
Posts: 977
|
For most for most sites it is mod_rewrite, occasionally what haku said. Koloration design & development
|
|
|
|
#6 (permalink) |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
Uh...you can use Apache on Windows... If you mean an IIS solution, yes, there is, but I'd rather shove hot pokers in my eye than use IIS again. Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
![]() |