i would like to redirect using htaccess to a page that cchecks the query string and sends it to the right page. example http://domain.com/test/one/ gets redirected to http://domain.com/index.php?route=/test/one/ without changing the url structure in the browser or modifying it. I want the htaccess to pick up anything after the first slash and send it to the index.php file.
PS i found this link htaccess to redirect ANY request but it modifies the url and throws a 301.
In the htaccess file in your document root add these rules:
The reason why the other answer is redirecting via a 301 is because the
R=301flag is in the square brackets of theRewriteRule.