I want to redirect my website URLs with .php extension currently all URLs are opening with and without .php
example
https://www.ranglerz.com/about.php
https://www.ranglerz.com/about
The both URLs are working now but I want if user open https://www.ranglerz.com/about it will redirect to https://www.ranglerz.com/about.php
here is my htaccess code
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ $1.php [NC,L]
I've tried all solutions that provided in different threads but nothing is working with this problem.