Forum Moderators: open
The urls are pretty complex as they carry departments information, sub dept, product names, etc...
I would like to keep the product names on the URL, but this is causing a problem with the rules in 2 situations. The problem is when we have ( ) paranthesis or + plus sign in the product names (detailname).
Do you know how we could change the rule so it would work?
The current rule is:
# General detail rule. Does allow for "/" and/or dash in sub-dept name.
RewriteRule .*detail/([\d]+)-([\w]+)-([\d]+)-([a-z_]+)-([\d]+)-([a-z'/-]+)/([\w\*\.'&-]+).htm(.*) /detail.htm\?stylepkey=$1&style_id=$2&dept_id=$3&deptName=$4&sub_id=$5&subName=$6&detailName=$7 [I]
The URL below is an example of the URLs that doesn't work with our current rule
/detail/11480-210_CIC8P3-2-Accessories-27-Computers/Heart-Rate-/Ciclosport-CP8+-Heart-Rate-Monitor-.htm
Thanks a lot for helping!