PHP Gems
Monday, July 1, 2013
How can I rewrite .php to .html by using .htaccess
Add this simple code in your .htacccess file ( create new .htaccess file if not exists )
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [nc]
It works for me..
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment