Wrapping Up HTML Sites for Clients

Here is the step by step how-to for making an HTML site from an SD site for a cancelling client or for sending a Magnet Document USB Drive to a Magnet client (healthcare).

Create the HTML Site

1. Create the Static Content site

  • a. Set the site to Static Content by logging on to the sites server, opening the web config and changing the Static Content key to True (Under the appsettings tag). If this key doesn't exist, add it (code is: <add key="StaticContent" value="true" />). Make sure debug mode is off and SSL is turned off on any SSL pages.
  • b. Run the link checker to send a page request to hit every page, thus having each page of the site be built.
  • c. Make sure any pages you need HTML for are not secured.

2. Make sure Debug is Off

3. Copy the Site
Navigate to the site's physical folder and copy it, making a "domain.com - Copy" of the site.

4. Media
If there are any video or audio files in the media folder, copy them into the static site copy you just made. Right click on the Media folder in IIS, Copy to your domain copy.

5. Download Common Folders

  • a. Copy the common files into the site copy. (You may ask someone for these, if unavailable see below)
  • b. Create a folder named "Shared" capital S, case sensitive.
  • c. Copy the styles located at Common Files\CMSMaster2\Shared\CSS2\styles.css
  • d. Copy the spacer image at Common Files\CMSMaster2\Shared\images\spacer.gif
  • e. Copy Common Files\CMSMaster2\Shared\js2\j
  • f. Copy Common Files\CMSMaster2\Shared\js2\m
  • g. Copy Common Files\CMSMaster2\Shared\videovault\longtail
  • h. Copy Common Files\CMSMaster2\Shared\videovault\It

6. Copy Locally
Zip up the site, rename the folder to static.zip and add to the main site, navigate to the path to download it, save it into your desk top, Unzip.

7. Delete

  • a. App_Code
  • b. App_Data
  • c. aspnet_client
  • d. trash
  • e. index.aspx
  • f. robots.txt
  • g. web.config

8. Move everything in the Static folder to the main folder except for the /Static/includes and /Static/js2

9. Delete the excess styles.css.xxxxxxxxx history files

10. Delete the _______.db files

11. Take the folder and drop in onto the CleanStaticHeaders program.

12. TEST

Once you are done creating the site, copy the files onto the USB drives open then it on a up locally in your browser (From the USB) and click around. Make sure the home page clicks through to the subs fine, the menu's work fine, everything looks good etc.

13. Save

After confirming that everything works. Rezip the file save as domainname.zip you will need a drop box account to sent to a client or a flash drive if it is being sent by mail.

14.Remove

Once you are done go back into the web config file on the server and turn the static content mode back off.