Q:

Mod Rewrite Issues

So I have this and it works for that page. 
RewriteRule ^([a-z]+)\/([0-9]+)\/?$ category.php?param=$1&param2=$2 [NC]

When I try to add another it doesn't work on the new page. What am I missing?
RewriteRule ^([a-z]+)\/([0-9]+)\/?$ category.php?param=$1&param2=$2 [NC]
RewriteRule ^([a-z]+)\/([0-9]+)\/?$ product.php?param=$1&param2=$2 [NC]

A:

I think you try to do:
RewriteRule ^category/([a-z0-9-]+)/?$ category.php?param=category&param2=$1 [NC,L]
RewriteRule ^product/([a-z0-9-]+)/?$ product.php?param=product&param2=$1 [NC,L]

But you can remove the first parameter param as you use another file for category/and product/.

