I have a website that is the root folder It has a .htacces with below code :
RewriteEngine on RewriteRule ^(.*)/$ $1.php
When I open
http://mysite.com/login/ I got 404 not found error but when I open
http://mysite.com/login without the trailing / the url will open without any problem.
I need htaccess code too set in the root directory to open php file like login.php as /login/ or login without / and with /