adding .htaccess rules for dropping php extension and also handling non extension routes