views:

29

answers:

1

I'm now doing this:

 rewriterule ^jobs/([0-9]+)/.* job.php?id=$1

Which will erase parameters in jobs/1010/title?k=v

How to keep them?

A: 

More of a serverfault question, but... Append the [QSA] flag:

rewriterule ^jobs/([0-9]+)/.* job.php?id=$1 [QSA]

From the docs for RewriteRule:

'qsappend|QSA' (query string append)

This flag forces the rewrite engine to append a query string part of the substitution string to the existing string, instead of replacing it. Use this when you want to add more data to the query string via a rewrite rule.

outis
Can you be more specific?
another