HELP! I can see html on my index.html page!!
canuck32595 said 11 months, 2 weeks ago:
Hello, I am totally new at this and need help!!! I have made a index.html page in text edit and have uploaded it via go daddy’s FTP manager, however all I see is the exact html that I put in my text editor.
website is http://www.themmabarn.com
any help would be appreciated!
matt0 said 11 months, 2 weeks ago:
Upon looking at the page, the HTML editor that you are using may be having issues. You may wish to try the scripting through another editor such as MS Notepad and see if it provides different results.
atsats said 10 months, 2 weeks ago:
I too came across this problem of #include directives not getting processed.
The same include directive worked on GoDaddy Linux and Virtual Dedciated hosting. It did not initially work on shared hosting.
The solution to this was to change all the HTML page extensions to the .shtm extension, i.e. index.html has to be renamed to index.shtml. Any include files must also have the .shtml extension.
Hopefully, this post will save someone the many hours of frustration that we experienced.
Nate D said 10 months, 2 weeks ago:
@atsats – In the shared hosting environments the MIME type for .html defaults to a regular HTML document. You can edit the MIME type for the server to process the files differently: