View Full Version : 301 Redirect dynamic URL matching expression - please help

12-25-2010, 03:19 AM
Hi guys. I've spent the last few hours trying to get my head around this problem. I've got a site using some translation software and it works for the most part but it cannot work in the checkout stages so I want to redirect the url it's creating www.mysite.com/nl/index.php?etc to www.mysite.com/index.php?etc

The URL I get atm is http://www.mysite.com/ja/index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65

and I would love to get http://www.mysite.com/index.php?page=checkout.index&option=com_virtuemart&Itemid=65&redirected=1&Itemid=65

I've been trying different combinations of things but I simply don't have the experience with mod rewrite, if anyone could point me in the right direction, I'd greatly appreciate it. Thanks for your time. Ant.