Forum Moderators: phranque
RewriteRule ^wallpapers\-(.*)\-(.*)\-index\.html$ wallpapers.php?category=$1&folder=$2 [nc]
there is a conflict between rules 1 and 2 . i cant figure it out
please help.
if i remove rule1 rule2 works fine or else rule1 catches both rule1 and rule2 :(
RewriteRule ^wallpapers\-([^-]+)\-index\.html$ wallpapers.php?category=$1 [L,NC]
RewriteRule ^wallpapers\-([^-]+)\-([^-]+)\-index\.html$ wallpapers.php?category=$1&folder=$2 [L,NC]
Hope this helps.
Justin
If you are having to adjust your order based on your rules, you are usually matching too many patterns. (Unless you are planning match everything with a single rule at some point. EG using a 'catch-all' at the end of your ruleset)
Justin