Orchard CMS Static HTML Files
UPDATE: Do NOT forget to change the accessPolicy to include "Read".One of the major problems migrating from an old static website to a new CMS package, in this case Orchard, is allowing current web pages to be available during the migration.
Yes there are some easy and some not so easy ways of migrating content but in my case I need to be able to allow Orchard to serve static html files.
I started here, which is a good article for site maps (site.xml), an excellent article by David Hayden. Thanks David!
My solution was to remove files that overlapped (only web.config of old site so not a problem).
1. Merge the directories and files together.
2. Modify web.config for Orchard.
<handlers accessPolicy="Script, Read"> <clear /> <add name="StaticHtml" path="*.htm" verb="*"
<httpHandlers> <clear /> <add path="*.htm" verb="*" type="System.Web.StaticFileHandler" /> <add path="*" verb="*" type="System.Web.HttpNotFoundHandler" />