Subfolders

How do I sort out my directories so that when someone enters a URL suck as http://www.mydomainname.com/cars , they would get a index page for cars and likewise if they entered http://www.mydomainname.com/bikes they would automatically get a bikes index page.

Do I need to set this up on the hosting account or just create a index.htm page in a directory called cars or bikes?

thanks

Not quite sure what your asking here? If I assume the simplest first, yes… you just create an index.htm (or index.php/index.asp if you are using server side code). The server will default to this file when it accesses that folder.

Yes

http://www.mydomainname.com/cars/

Note the end slash…

What’s the point of the ending / … it normally gets automatically inserted.

Not always. Some cases it tries to look for a file called “cars” for example. The end slash ensures its a directory and to look for a default file like index.html or index.php …

Strange… I’ve never seen that b4… if you find an example or have one set up then I’d like to see it… just cause I’ve never seen it b4. Almost sounds like it’s a server side issue if that’s to happen.