Hi,
I currently have a few RewriteRules in my .htaccess file that look like this.
What I want is a single RewriteRule that matches the above plus 6, 7, 8 etc directory components.Code:RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9'\ ]+)/([a-zA-Z0-9'\ ]+)/{0,1}$ page.php?1=$1&2=$2&3=$3&%{QUERY_STRING} [L] RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9'\ ]+)/([a-zA-Z0-9'\ ]+)/([\-a-zA-Z0-9'\ ]+)/{0,1}$ page.php?1=$1&2=$2&3=$3&4=$4&%{QUERY_STRING} [L] RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9'\ ]+)/([a-zA-Z0-9'\ ]+)/([\-a-zA-Z0-9'\ ]+)/([\-a-zA-Z0-9'\ ]+){0,1}$ page.php?1=$1&2=$2&3=$3&4=$4&5=$5&%{QUERY_STRING} [L]
Is this possible?
Thanks


Reply With Quote
Bookmarks