Here is what I need to do:
old pages are mydomain.com/something.php
new pages are rebuilt in WordPress identified using pretty permalinks so they are mydomain.com/something/
I need to figure out what the rewrite rule should look like. I have crawled the web and can’t find anything exactly like it.
Something like:
The (.*) is a “group” of characters before the .php, and $1 refers to that group of characters. So just add a slash to the group and send the browser to the new URL with an HTTP code 301 (permanent redirect)
Try this: