I am trying to add a mod rewrite to htaccess, problem is that I need to pass a query into the new page. For example :
needs to become
I tried :
RewriteRule movies/actor/(.*)/ movies.php?actor=$1
But this does not pass the query actor=cage into the new page.
Then the next problem is that I need the old url (mysite.com/movies.php?actor=cage) to become a 301 redirect back to the new url (mysite.com/movies/actor/cage/)
Can anyone help ?