Currently on my site I'm using statements like:
include 'head.php';
include 'footer.php';
i wanted to add the .php dynamically using the .htaccess, is that possible to do. SO that there is no need for me to add .php in code every time when where i add the php page using the include or require method
Expected output is
include 'head';
include 'footer';