Heyas, so I'm attempting to teach myself mod_rewrite in htaccess. I've been attempting to create a url rewrite like WP uses, but with just Parent/Child. So far I have:

Code:
RewriteRule ^directory/(.*)/$ parent.php?parcat=$1

RewriteRule ^directory/(.*)/(.*)/$ child.php?parcat=$1&subcat=$2
The parent works, but whenever I attempt to call the sub (child), it attempts to use parent instead.

I've tried multiple ways including changing all names, setting different virtual dir's, setting the regex to [A-Za-z] (There's no numbers, so [0-9] wouldn't need to be added), and calling them both through the same page. All to no avail *sigh*...

Any help would be greatly appreciated.

Thanks in advance.