Treat .html pages as .php page

For making php pages seo friendly, keep the web page extensions as html, but force the webserver to treat html pages as php pages. To do so, follow below mentioned steps :

1. Create a .htaccess file in the web root dir.
2. Copy and paste the following contents in it

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

If after adding the above line page displays error, this means you have PHPSuexec Installed then change the above line to

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

And, it’s all done, now you can insert php code into html pages and they will be treated as php pages.

Quickly bookmark Treat .html pages as .php page at
    Bookmark Treat .html pages as .php page at del.icio.us    Digg Treat .html pages as .php page at Digg.com    Bookmark Treat .html pages as .php page at Spurl.net    Bookmark Treat .html pages as .php page with wists    Bookmark Treat .html pages as .php page at Simpy.com    Bookmark Treat .html pages as .php page at NewsVine    Blink this Treat .html pages as .php page at blinklist.com    Bookmark Treat .html pages as .php page at Furl.net    Bookmark Treat .html pages as .php page at reddit.com    Fark Treat .html pages as .php page at Fark.com    Bookmark Treat .html pages as .php page at blogmarks    Bookmark Treat .html pages as .php page at YahooMyWeb