Removing .php extension for first directory only
I have my .htaccess file set up to omit .php extensions from URLs. For instance:
Which is great; however, I use the remaining part of the URL for parameters, which I want to be ignored. For instance, I want:
To read from:
Any idea how I can accomplish this in .htaccess? Here is my current .htaccess file:
If you can have a .htaccess in each directory then create a .htaccess for the directories you don't want to omit the .php and turn RewriteEngine off.
|All times are GMT +1. The time now is 07:57 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.