How to remove .php from url?

Dear Friends,

Please help me.

I want to remove .php From url.
.php replace with .html

Thank You.

Try adding this to your .htaccess file:

RewriteEngine on
RewriteRule ^(.*)\.php$ $1.html

If you don’t have one, just create a file called .htaccess in the root of your site and add it there.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.