I have all my files with .php extension which I am replacing with .html (code mentioned below) in htaccess file but this piece of code is keeping .html for all the pages(i guess), which is affecting the functionality of few pages like career and contact, as I was using php code to do all my backend job for these pages.
Does any one have any suggestions to pull me out of this. Any help would be appreciated.
Here is the code:
RewriteRule ^(.*)\.html$ $1.php [L]
RewriteRule ^([^/.]+)$ $1.php [L]