You’re looking at it from a humanistic perspective. You need to look at it through the machine perspective. The querystring would include the gender even though it doesn’t follow the ?
I would venture to guess that you see something like RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)$ index.php?gender=$1&category=$2 [L]
So it will take the two items here and pre-pend them onto the existing querystring. You’ll just need to account for those two items in your querystring processing…
So the user submits the nice URL with a query string after the ?, and Apache rewrites the nice URL to a standard URL where the “nice” part now becomes part of the “Query String”, right?
And then PHP takes this extended “Query String” and returns the whole thing when I use $_SERVER[‘QUERY_STRING’], right?