
Posted by Laurie Casolino
Dreamweaver 4 made it very easy to change the default file extension from .htm to .html. DWMX is a little trickier though...but still very simple. You just need to edit one of the DWMX XML config files.
DWMX comes with .htm as the default doc extension. Many people prefer to use .html and remember how simple it was to change that default extension in DW4. One quick change in your preferences and you were done. In DWMX the change is not so intuitive. To make the change in DWMX you need to edit one of the XML config files that comes with DWMX. Sounds a lot more complicated than it really is, trust me. Follow the simple steps below and you'll be creating pages with the .html extension in no time. As always, to be safe, make a backup of the .xml file before making any changes. Better safe than sorry I always say. :-)
<?xml version="1.0"?> <documenttypes xmlns:MMString="http://www.macromedia.com/schemes/data/string/"> <documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm, stm,lasso,xhtml" macfileextension="html,htm,shtml,shtm,lasso,xhtml" file="Default.html" writebyteordermark="false">
From this point on, documents you create will be saved with the .html file extension rather than the .htm extension, unless you tell it otherwise.