Using .htaccess to redirect specific .php file requests
Posted: Sat Oct 15, 2005 4:51 pm
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.
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.