my htaccess file is:

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.mydomain.com$
RewriteRule ^/?$ “http://mydomain.com/” [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.php [NC,L]

now it works like this:

mydomain.com/contact.php ( redirect -> ) mydomain.com/contact
mydomain.com/contact/ ( redirect -> ) 404 - not found:(
mydomain.com/contact ( redirect -> ) mydomain.com/contact

how redirect “mydomain.com/contact/” to: “mydomain.com/contact” ?
or maybe just let the browser to open correct page, not 404 like it is now :/

Read more here: redirect tralling slash to no extension


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: