Options -Indexes Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteRule ^wallpapers\-(.*)\-index\.html$ wallpapers.php?category=$1 [nc] 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\-([0-9x]*)\-index\.html$ wallpapers.php?category=$1 [nc] i put second rule as this at itworks like charm is it correct?
Change the order of them. Bigger lines go first. Bigger as in more $# stuff. List the line with the most variables first, then the second most and so on.