PDA

View Full Version : How do I get ride of those endings .html.


rabelai
01-10-2007, 06:58 AM
Hi
Can anyone help me. I have designed a cool navigation bar in Fireworks, but since it is not made in Dreamweaver I canīt edit the pop-um menus in that program. For the links i wrote for example: http://www.google.com/cars but then when I went and uploaded the files than all of the sudden it had to be http://www.google.com/cars.html. Now I have the navigation bar on multiple pages and itīs a huge time killer to alter him.
I read in the help center that it is possible to get rid of index.html on the homepageīs URL by altering the access file in the public_html folder. I was wondering if itīs not possible also to make that .html ending disappear by some why, if so, HOW?

cydewaze
01-10-2007, 09:20 AM
Easiest way is to have a directory named /cars/ and put an index.html file in it. Now http://www.yoursite.com/cars works.

rabelai
01-10-2007, 10:11 AM
Hi thanks for responding.
I see what you mean, but I still donīt think it works.
Here is a better explanation the link is for example:www.google.com/cars/ford
So it doesnīt link to the URL which is:www.google.com/cars/ford.html.
Now if I would do as you suggested with the index file than the link has to be:www.google.com/cars instead of what it is now:www.google.is/cars/ford and besides it doesnīt work out because I have in some directories many files for example:
google.is
cars
ford
chrysler
toyota
so the index file can only cover one of them I think.
If you have another solution I would surely like to hear it.
Cheers mate.

rabelai
01-10-2007, 10:15 AM
Of course your way works. I realized as soon as I posted the response. I will make a directory Car and another directory of Ford and then the index file. Of course.
Thanks a bunch for the tip.

cydewaze
01-11-2007, 07:28 AM
Glad it worked for you! :)