Changing php pages to htm

6 posts by 2 authors in: Forums > CMS Builder
Last Post: July 5, 2012   (RSS)

Re: [ThreeTree] Changing php pages to htm

By Jason - June 27, 2012

Hi,

You can usually put a rule into your .htaccess file that will tell the server to execute a file with a .htm extension as .php

Take a look here:
http://php.about.com/od/advancedphp/p/html_php.htm

Hope this helps get you started.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Changing php pages to htm

By ThreeTree - June 28, 2012 - edited: June 28, 2012

Thanks, I've read the reference and will contact the hosting company. I'm assuming that I leave all CMS Builder generated PHP code on the page as is.

Re: [ThreeTree] Changing php pages to htm

By ThreeTree - June 29, 2012

I followed the instructions, created a file named .htaccess and uploaded it. Named the page with .htm instead of php and it didn't work. Called GoDaddy support before doing this to confirm placement of .htaccess code. Page did not display the CMS Builder php functions and also displayed the php code that is at the top of the page. I'm obviously missing something and don't know how to resolve this situation.

Re: [ThreeTree] Changing php pages to htm

By Jason - July 2, 2012

Hi,

If you'd like to send in a [url http://www.interactivetools.com/support]2nd Level Support Request[/url], we can take a look and see if there are any problems we can notice.

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Changing php pages to htm

By ThreeTree - July 5, 2012

Thanks Jason, I will complete the 2nd level request form.