Forum Moderators: phranque
My website is completely build in html and full of small errors but that isnt visible on the web :).
Is there anyone who can give me an explantion on how to make www.example.com/page.html into www.example.com/page in dreamweaver that even I can understand? I am a tennisplayer/coach and dont even know what a mod is or where to find it ;)
It is really important for me and i would really appreciate it if someone could help me out!
However, if you decide to proceed, you'll have to figure out how to change the URLs in DreamWeaver (a question for a different forum), then configure your server to internally rewrite requests for extensionless URLs to server filenames with extensions, and to externally redirect client requests for the old .html URLs to the new extensionless URLs.
So, prepare to take a couple of weeks (or months) for research, study, and experimentation to get up to speed on Apache [httpd.apache.org], hire someone to do this work for you, or consider that there are far more important things you could do --such as adding more quality content to the site-- that would be of far more benefit in the long term, and much less technically demanding.
Search engines care not a whit whether pages have extensions or not, and they don't care what extension you use, either. You could name your pages "dads-pages.white-cat" if you liked, as long as you also configure your server to serve files having a .white-cat extension with an HTTP Content-Type header of "text/html".
This is the best simple answer I could come up with, because it's simply not simple...
Jim
I found out that it works when i just delete the .htm and put the file on the server but it only worked on ie! Stupid firefox just showed html code =S. But because it was so simple to make it work for ie i thought that only a few minor changes should make it work for mozilla and other browsers but i gues i was wrong.
And for the posting in this forum: i had no idea i even posted this in a apache forum :p. I just googled some words, came here registered and pushed the button create a new topic without knowing where peeps could see it =O! What is Apache anyway? I like the name it makes me think of indiana stories :p
The URL does not need to have .html within the URL. URLs are used out on the web, and filenames are used inside the server. The server software 'associates' the two.
A rewrite using a RewriteRule will take your URL request, 'translate' it, and get the correct file from the server.