2015-11-06, 09:53 AM
As the subject says i want to remove .php with htaccess. i was able to do that and it work, until i logged out and tried to login again.
i used this in htaccess
but after i logged out i couldnt login again, i'd like my url to be without php extension so is there anyone thats making this work somehow, if so how
http://redink4rums.net
i used this in htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [QSA,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [L]
but after i logged out i couldnt login again, i'd like my url to be without php extension so is there anyone thats making this work somehow, if so how
http://redink4rums.net