Determining if something is there, or not there.
Posted: Tue Jul 22, 2008 3:27 am
I'm not sure how plausible this is, hopefully it can be done but I do not hold my breath. I can't test this out right now since I am at work!
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:?
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