Is there a way to do this: RewriteRule ^(.*)\.html$ $1.php [NC] Code (markup): on a Windows server? If not is there some way to do this by simply altering the header.php file with the same command written in php or javascript to perform this operation?
If you run Apache on the Windows server, it can be done. Just check Google, there are plenty of guides, e.g: http://www.astahost.com/Apache-Tutorial-Enable-mod-rewrite-Windows-t11623.html
Ok I'll talk to my host but if that's not possible for whatever reason then is there any way to do it within the code in php or javascript?
You can do html redirects using this code <meta http-equiv="Refresh" content="5; url=http://www.quackit.com/html/tags.cfm"> but u have to create individual page for all
it is not a solution. in window server, you can install apache include mod_rewrite, It work also in *nix.
Well no one has answered my second question about doing this purely within php or javascript. Other than having a different header for every page. The host won't/can't install isapi rewrite on the server so I can't really use these other options.