Use URL Rewrite as well as $_GET parameters in URL?

Just found the answer if anyone else needs it.

The line I had the browse rewrite on in .htaccess just had [L] at the end, you need to change it to [QSA,L] (Query String Append)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)