Help with what should be a simple mod rewrite
I admit it, I'm a n00b. I've read three different tutorials, downloaded cheat sheets and tried to read the official documentation, but clearly, I'm just not smart enough. So help me please.
I'm working on a site that is migrating from ExpressionEngine to Wordpress, so its going to have the majority of its URLs changing. I want to redirect them instead of leaving them empty.
So basically I want pages like this:
[which will no longer exist post migration]
To redirect to pages like this:
(which will exist as a new template fter I figure this out!]
Note the underscores versus hyphens. I've tried this literally hundreds of times and gotten nowhere. Other mod rewrites I've implemented have worked, such as redirecting nonsense URLs to the home page. I've disabled all of them to get this one trick to work though, and I'm failing left and right.
Here's what I'm rolling with currently:
RewriteRule ^/([A-Za-z0-9-_]+)/?$ index.php?/site/more/$1 [NC,L]
I'm sure I'm doing something wrong, and I'm hoping someone can point me in the right direction, or help me outright.
Thank you in advance.