Hi, How to do this: RewriteRule ^/offers?id=(.*) /ViewOffer.php?OfferId=$1 RewriteRule ^/offers(.*) /Offers.php$1 That is to say: if "id=" is present go to ViewOffer.php else go to Offers.php Best regards, Davi --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx