Hello,
I want to add some optional paramteres to urls. I want to seperate page furl ($_GET[’q’]) from it by a comma. I need a url like this for SOME pages:
http://sitedomain/parent/page.html,alpha
i tried these:
RewriteRule ^(.*),?([a-z]*)$ index.php?q=$1&b=$2 [L,QSA]
RewriteRule ^(.*)(,?)([a-z]*)$ index.php?q=$1&b=$2&c=$3 [L,QSA]
RewriteRule ^(.*)[,]?([a-z]*)$ index.php?q=$1&b=$2 [L,QSA]
RewriteRule ^(.*),([a-z]*)$ index.php?q=$1&b=$2 [L,QSA]
They didn’t work well. The last line is good but the comma is not optional.
Please help me to solve it....
Thanks
AHHP