.html files in DreamweaverMX2004

Welcome to the Web Developer Group Bulletin Board.

Moderators: rcrisler1, saltybeagle

.html files in DreamweaverMX2004

Postby MarkHiatt » Thu Feb 17, 2005 10:04 am

The default page suffix in Dreamweaver MX and Dreamweaver MX2004 is .htm, instead of .html, for some reason. If you would like to change your default document type to .html, search your machine for "MMDocumentTypes.xml" in the DocumentTypes folder of the main Dreamweaver configuration folder.

Very near the top, you'll find a paragraph like this one:

Code: Select all
<documenttype id="HTML" internaltype="HTML"
file="Default.html" writebyteordermark="false">

Change it to this:

Code: Select all
<documenttype id="HTML" internaltype="HTML"
file="Default.html" writebyteordermark="false">

In other words, change the order of "htm" and "html" in the winfileextension and macfileextension attributes. You will need to restart Dreamweaver, for the changes to take effect.
Posts: 36
Joined: Mon Jul 26, 2004 3:09 pm
Location: '501' Building - Room 123.1

Postby saltybeagle » Thu Feb 17, 2005 10:45 am

Thanks for the tip Mark...

For those that are using the unl templates on an apache server you could change it to use .shtml if you prefer

In fact I think I will do that now.

Thanks again Mark.
Brett Bieber
Posts: 376
Joined: Fri Jan 16, 2004 3:10 pm
Location: 321 Admin

Return to Welcome

Who is online

Users browsing this forum: No registered users and 1 guest