My url pattern is as follows: xyz.com/actions/action_name?var1=val1&var2=val2... This needs to be redirected to xyz.com/loader.php?action=action_name&var1=val1&var2=val2... Please help me write the htaccess code. I've already spent 3 hrs trying this and need your help folks. Thanks in advance.
RewriteEngine OnRewriteRule ^actions/([^/]*)/([^/]*)$ /actions/action_name?var1=$1&var2=$2 [L] Code (markup): I'm about 90% sure this won't work but worth a try. May need editing.