Forum Moderators: phranque
The second cannot be solved with .htaccess alone because there is no way for .htaccess to know that
?id=10 and ?f=12&ft=9&page=2 are related. You will need some sort of database lookup script to do that. However there is a much more fundamental problem with your question. Are you saying you have two sites? One at www and one at non-www? Check your example URLs, and confirm they are all correct.