How to remove php extension form URL .htaccess – Apache
I have a code in my .htaccess file: RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /.*.html HTTP/ RewriteRule ^(.*).html$ /$1 [R=301,L] It removes .html extension from urls, how do I remove .php as well with the same code?