i have a website with url
i added code for removing the .php extension from url like below
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L]
if someone search with url
http://mywebsite.com/abc its working fine.
If anyone search with http://mywebsite.com/abc/ i need to forcefully redirect it to http://mywebsite.com/abc using htaccess