I’m moving web-app from pure php to Symfony2 and going to save working old links like http://domain.com/index.php?task=help&term_id=2 (which in Symfony2 are like http://domain.com/2/?task=help).
What should I do to do this? (add some rewrite rules to .htaccess in web dir or some other things…)
UPD: Count and position of query params are variable.
I decided to solve my problem next way: