Okay, this is my own website - http://frugalfancy.com - the pages are .shtml pages. I haven't changed anything then all of a sudden today, I can't view the site. It tries to download with an error that it doesn't know what type file it is. I've checked htaccess - it's the same as it's been. Can someone please tell me why this is doing this and how to fix it? (I hope!) If I mess something up, I can understand that, but when I don't even touch the site and something goes wrong, it's REALLY aggravating. Thanks for your help! - Forgot to add that when I enter the direct URL with the file name like http://frugalfancy.com/index.shtml it pulls the page from my computer and not the web server. Very weird.
I know I ran into an issue when my ISP upgraded from php4 to php5. Have they done any maintenance on your servers? I found an old thread that said they had the same issue because the ISP turned off SSI. See if this helps with your htaccess file # Convert .shtml requests to .html if the .html file exists # # Turn on the Rewrite Engine: RewriteEngine on # Cut ".shtml" off the end of the request, to get the basename: RewriteRule ^(.*)\.shtml$ $1 [C,E=WasSHTML:yes] # Change the request for "basename.shtml" to "basename.html", # if basename.html exists RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.*)$ $1.html [S=1] # If it doesn't, then put the ".shtml" back on the end: RewriteCond %{ENV:WasSHTML} ^yes$ RewriteRule ^(.*)$ $1.shtml Code (markup): Just curious though why are you using .shtml extention?
SSI can also be disabled in Apache. You might want to check with whoever you are hosting the site with and see if they can enable it.. or you'll just have to change the extensions/links on your site.
I don't know if they've made any changes or not. I'll have to check into it. But I use shtml because I use SSI and you can't have html pages with includes. It's how I started designing sites a hundred years ago, so I've just never changed the way I did my pages.