I set up a pretty non-offensive rewrite rule as a test for a more explicit set of rules conditions that obfuscate actual file names. Turns out that this very very general & very simple version is pretty useful. It looks like this:
RewriteRule ^([a-zA-Z0-9]+)$ $1.php [L]
It basically allows URLs using all the existing files with the file extensions omitted.
I need a version that can work with subdirectories like:
anything/anything rewrites to anything/anything.php
seems simple but I’m having trouble. Any clues would be great.