Click to See Complete Forum and Search --> : links


ichigoman
12-09-2005, 06:30 AM
Hi there i was wondering if you can help me with this . I have seen in many pages in the web that when you click in a button it redirects you in page but without showing the hml extention for example http://example.com/help/ or some other time is like that http://example.com/help/index.html and then you change a page and the address bar has http://example.com/helpme/index.html.Does anyone know how i can link my pages like that.

bathurst_guy
12-09-2005, 06:46 AM
just create folders and within each folder name your page index.html, then just link to the folder as you have written above

TheBearMay
12-09-2005, 06:48 AM
By default many web servers will serve an index.html or default.html page for a given directory if a file is not specified. On Apache web servers you can add/remove default pages by using the DirectoryIndex command in your .htaccess file; i.e.

DirectoryIndex index.html default.html index.php randomFile.asp

For IIS it's controlled by the Document tab of the Properties sheet.

Note order presented is the search hierarchy the server will use for serving the pages too. Thus if index.html and default.html are both present, index.html would be served.