Code:
RewriteRule ^forums$ pages/forum.php [L]
RewriteRule ^forums/([A-z]+)$ pages/forum.php?category=$1 [L]
RewriteRule ^forums/([A-z]+)/([A-z]+)$ pages/forum.php?category=$1&sort=$2 [L]
Is it possible to merge these three lines into one? I use to be able to do this but it's been so long I've forgotten.
EDIT: RewriteRule ^forums(/([A-z]+)(/([A-z]+))?)?$ pages/forum.php?category=$2&sort=$4 [L]