I am trying to make the site dynamic based on two parameters: RewriteRule ^(.*)/(.*)$ /category.php?type=$1&query=$2 [L] www.url.com/producer/him but when I put that in, none of my dir work, such as /images so how can I get around this without putting a word indicator in url or typing out every option in htaccess? Thanks.
When you say no typing out every option, you mean you don't want somthing like this, which works ? RewriteRule ^(images|any-other-dirs|folder) $1 [L] RewriteRule ^(.*)/(.*)$ /category.php?type=$1&query=$2 [L] Code (markup):
ya that still 404's my images/ dir using RewriteRule ^(images|any-other-dirs|folder) $1 [L](I want to exclude these from being rewritten) RewriteRule ^([^/]+)/([^/]+)$ /category.php?type=$1&query=$2 [L] thanks in advance