Jump to content

Target Specific File


hackalive

Recommended Posts

Hi Guys,

This is my so far mod_rewrite

RewriteEngine On
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^([^/.]+)/?$ /index.php?page=$1 [L]

 

Now I want to know how i can remove the .php extension from the end of SPECIFIC files (i.e., login.php so I can do login/xyz whith no .php)

 

Cheers in advance :)

Link to comment
https://forums.phpfreaks.com/topic/255058-target-specific-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.