The issue was the Adrdtype code needed one minor tweak. Instead of the code reading:
AddType application/x-httpd-php .html
it needed to read as:
AddType application/x-httpd-php5 .html
The php5 was the trick as it is necessary for the php 5.x version. You were most certainly on the right path.
For best practice however, it is not advised to embed php code into html files. This causes the server to perform extra processing as it reads each and every html file and line of code in it as php. This practice is usually reserved for when there are already existing html files that need php to be added, but have search engine indexing, links and backlinks connected to it. Preserving the html file would be necessary.
It is best to simply make the file a .php file and code it the same way you would the html file. This way pure html files are not processed as php, speeding the site up a bit. In the end, however, it is entirely up to you.
I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.
|Email:||support@WebHostingHub.com||Ticket:||Submit a Support Ticket|
|Chat:||Click To Chat Now|