I'm having a little trouble creating a RewriteRule that allows for extra parameters. I currently have the following RewriteRule: RewriteRule ^ski-region/[^/]*/([0-9]+)$ index.php?option=com_skicow&act=cat&task=showCE&id=$1
which converts queries like:
[skicow.com ]
into:
[skicow.com ]
However, I would like to be able to allow for parameters at the end of the URL as well. For example, I would like the following conversions as well:
[skicow.com ]
into:
[skicow.com ]
I tried modifying the .htaccess file by inserting an additional RewriteRule as follows, but $2 is always blank.
RewriteRule ^ski-region/[^/]*/([0-9]+)?.*$ index.php?option=com_skicow&act=cat&task=showCE&id=$1&$2
RewriteRule ^ski-region/[^/]*/([0-9]+)$ index.php?option=com_skicow&act=cat&task=showCE&id=$1
Any help would be appreciated.