Page 1 of 1

Using .htaccess to redirect specific .php file requests

Posted: Sat Oct 15, 2005 4:51 pm
by BigChase
Can .htaccess redirects be used to redirect .php files based on the
paramers the request is passing? For instance, can:

Redirect /question.php?number=10 /question_about_cars.php?number=10

be made to only redirect question.php when the passed parameter number
= 10? The Redirect line above redirects ALL requests to /question.php
regardless of what number is = to.

Thanks for the assistance.