i am using a mod rewrite rule in my .htaccess document, however when we get into tiers past 1 it fails.
Say i have domain.com/forum as domain.com?page=forum
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?page=$1
But say i want domain.com/forum/forumdisplay/12 where that is domain.com?page=forum&sub=forumdisplate&topic=12
how do i go about this?
my thoughts are on something like this
RewriteRule ^forum/(.*)-([0-9]+)-([0-9]+)\.html$ index.php?page=$1&sub=$2&topic=$3 [L]
link
Say i have domain.com/forum as domain.com?page=forum
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?page=$1
But say i want domain.com/forum/forumdisplay/12 where that is domain.com?page=forum&sub=forumdisplate&topic=12
how do i go about this?
my thoughts are on something like this
RewriteRule ^forum/(.*)-([0-9]+)-([0-9]+)\.html$ index.php?page=$1&sub=$2&topic=$3 [L]
link