redirection using htaccess

Discussion in 'Apache' started by abhilashdas, Jun 16, 2008.

  1. #1
    Hi,
    I want to redirect www.xyz.com/[abc].php
    to index.php?req=[abc]
    I have managed to redirect as above with .htaccess rewrite rule, but, I want the arguments if any, to [abc].php to be sent to the second url. Currently it seems that all arguments to [abc].php is truncating.

    Hope you experts could help me.:confused:
    Thanx in advance.
     
    abhilashdas, Jun 16, 2008 IP