Home

Friday, November 30, 2012

How do I rewrite .php to .html using .htaccess rules?


I want to convert .php extension to .html extension using .htaccess rules
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [nc]
Example : index.php to index.html

1 comment:

rathoddhirendra.blogspot.com-Google pagerank and Worth