htaccess rule to use php as html documents

Web development, SEO Marketing Add comments

The following simple webmaster trick shows how to change the Apache server configuration through a .htaccess file to use dynamic php pages in .html files. To take the effect, the following .htaccess file should be in the webserver’s DocumentRoot directory.

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

Leave a Reply

You must be logged in to post a comment.

WebSite Powered by webHauser
Entries RSS Comments RSS Login