Possible Duplicate:
How to add .php extension using .htaccess url rewriting?
I want to add .php extension to url. using ."htaccess" How I can do it
my current URL is
http://www.abc
I want to change it as
http://www.abc.php
The content of .htaccess is
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.php [L]
And it is placed in root directory of my application
The question already exist but it is not working for me. I am using xampp server torun php
I do not know how to use htaccess. I want to know that
This code rewrites all .html files to .php