I need help with a website problem

2 replies
  • WEB DESIGN
  • |
I have a site with hundreds of pages that have .html extenion file names.

I use php includes on the pages for the template and have used

AddHandler application/x-httpd-php .html .htm .phtml

in the .htaccess file to parse the pages as php.

My host upgraded to a new version of apache and php and now the pages don't parse as php, so no temlplate is showing.

I've tried both

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

and

AddHandler application/x-httpd-php .html .htm .phtml

and neither works.

Is there a way to fix this without having to rename every file and redo all the menus etc.?
#problem #website
  • Profile picture of the author tajimd
    Not sure, but it won't be possible to include pages unless you don't convert the pages to .PHP
    {{ DiscussionBoard.errors[533338].message }}
    • Profile picture of the author aisling
      I agree, you're probably going to have to convert the pages to PHP. A simple .htaccess notation isn't robust enough.

      For the size of that project, it might be smart to hire a pro who can do this quickly and with confidence.

      (For the record: I'm not a pro.)
      Signature

      WordPress themes made easy: Sites that Soar!

      {{ DiscussionBoard.errors[536696].message }}

Trending Topics