AusQB
New Member
I see a lot of sites, including this one, that doesn't show filenames in the URL (eg. http://www.domain.com/index.htm).
How is this done?
For other pages/subpages, are they simply in subdirectories in the websites file structure?
EDIT: I tried putting the files in separate folders and renaming them all to index.html, but when I previewed it in Firefox it went to a file system view when trying to access the lower index.html files.
EDIT: I've been fooling around with how the links are meant to work, and running into a lot of problems regarding relative addresses. If I want one of the nav buttons to link to a subfolder, let's call it "child/", then if I want to jump to another folder from there it will simply concatenate to the end of that path (ie. child/home/).
How am I meant to create relative addresses in this case? Do I need a script that keeps track of the folder structure and modifies the address accordingly? (ie. change sister/ to ../sister when in the child/ folder)
How is this done?
For other pages/subpages, are they simply in subdirectories in the websites file structure?
EDIT: I tried putting the files in separate folders and renaming them all to index.html, but when I previewed it in Firefox it went to a file system view when trying to access the lower index.html files.
EDIT: I've been fooling around with how the links are meant to work, and running into a lot of problems regarding relative addresses. If I want one of the nav buttons to link to a subfolder, let's call it "child/", then if I want to jump to another folder from there it will simply concatenate to the end of that path (ie. child/home/).
How am I meant to create relative addresses in this case? Do I need a script that keeps track of the folder structure and modifies the address accordingly? (ie. change sister/ to ../sister when in the child/ folder)
Last edited: