I have a site, say http://www.example.org/page/param.
In some cases the 'page' part will not always be there, but I still need to get both the 'page' and 'param' part. Would something like this work:?
Code: Select all
RewriteRule ^([\w]+)?/([\w]+) index.php?page=$1¶m=$2