Skip to main content
Participant
June 25, 2007
Question

dropping the suffix

  • June 25, 2007
  • 1 reply
  • 352 views
Hi:

Can someone tell me how I can get my website to assume a .html suffix so that browsers don't have to add the suffix all the time? ie: instead of typing www.predictum.com/dynamic.html - I'd like the user to just have to ype www.predictum.com/dynamic - and have it automatically go to dynamic/html.

Is there an easy way to handle this in Dreamweaver CS3???

Many thanks in advance!!!

Wayne
This topic has been closed for replies.

1 reply

Günter_Schenk
Inspiring
June 26, 2007
Dreamweaver can´t do this, as it works with real files and not "alias" -- something like this needs to be done by the server, e.g. your local and remote Apache server may (or may not, depends on the configuration provided by the server admin) have a "rewrite engine" module ( mod rewrite) installed, which could be configured to do what you want.

It´s a tricky thing though, and an easier option were to place your e.g. current "dynamic.html" in a subdirectory named "dynamic" and rename the file to "index.html" -- the reason behind this approach is: servers are usually configured to automatically load an existing "index.htm(l)" file from whatever directory in case no file name has been supplied, means linking to "www.predictum.com/dynamic" would load this file.