RewriteRule ^discussions/([0-9]+)$ index.php?page=$1 [QSA,L] RewriteRule ^discussions/([0-9]+)/$ index.php?page=$1 [QSA,L]
RewriteRule ^discussions/([0-9]+)(\/?)$ index.php?page=$1 [QSA,L]
Comments
I think the trailing slash issue can be treated in a simpler way. Instead of:
RewriteRule ^discussions/([0-9]+)$ index.php?page=$1 [QSA,L] RewriteRule ^discussions/([0-9]+)/$ index.php?page=$1 [QSA,L]
what about that:
RewriteRule ^discussions/([0-9]+)(\/?)$ index.php?page=$1 [QSA,L]
and so on with every "double" rule?