Modify template.php for custom HTML It was suggested the below script in template.php might work to assist in creating a modified HTML page. 

&lt;?php
function YOUTHEME_preprocess_html (&amp;$vars) {
if (module_exists('path')) {
$alias = drupal_get_path_alias(str_replace('/edit','',$_GET['q']));
if ($alias != $_GET['q']) {
$template_filename = 'html';
foreach (explode('/', $alias) as $path_part) {
$template_filename = $template_filename . '__' . $path_part;
$vars['theme_hook_suggestions'][] = $template_filename;
      }
    }
  }
}
?&gt;


I tried it but broke my site. Do I need to copy just the code minus the php brackets? Use my exact subtheme name to replace YOURTHEME and then create my html--foo.tpl.php to correspond?
you can try function themeName_preprocess_page(&amp;$vars, $hook) to override theme theme_hook_suggestions.  More detail you will find here.