Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /online_shoping/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [L]
this is my code for removing .php extension after use .php removed but ? and = still appear and also my login script failed after use this code so please guide me where m wrong?
Thanks in advance