Hello,
I am looking for a rule that will hide all .php extensions and allow all the urls to have a trailing slash, Some of my urls also have - (dashes) in them so this will also need to be accounted for when creating the rule.
I have attempted:
RewriteCond /%{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)/$ /$[login to view URL]
Please do not access for server access as I am capable of adding htacess rules.
Hello from Poland. Lots of sysadmin experience here. You don't really need to use Rewrite to achieve your goal. Please let me know in the chat if you would like me to show you another approach. I'm usually around for at least 8 hours every day if you need me. Thank you.