Maintaining .html extensions for CMSB .php pages

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 24, 2014   (RSS)

By claire - December 24, 2014

Hi there

I'm not an SEO expert, but I think the best solution is to do it through .htaccess. You can keep the .html extension, and add a line to your .htaccess file that specifies that .html files should be executed as if they were .php. It won't affect any plain HTML files.

The line is as follows:

AddType application/x-httpd-php .htm .html

This isn't something you can do easily in CMSB, as far as I know. Sometimes the simplest solutions are the best ones?

--------------------

Claire Ryan
interactivetools.com

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