Hey DP'ers, would love to get some help from you one more time, please currently I am using Options +FollowSymLinks RewriteEngine on RewriteRule page(.*)\.html$ /page.php?id=$1 PHP: but am looking to pass 2 to 3 variables for instance to convert page.php?id=10&type=20&dp=43 into page10type20dp43.html Thanks a lot for taking the time to read this and help
You need to narrow down the regex you are using to find the variable, I think this code should work Options +FollowSymLinks RewriteEngine on RewriteRule page([0-9])type([0-9])dp([0-9])\.html$ /page.php?id=$1&type=$2&dp=$3 Code (markup):
RandomBase, thanks so much, that works to perfection... and actually helped me grasp the concept of rewrite so much better that i'm going to town with this :-P THANK YOU!!!! i knew i could count on DPers