Rewrite Rules returning wrong data

I did a quick little search on what you are trying to do and maybe this will help you out some and how the rewrite is grabbing the querystrings.

https://stackoverflow.com/questions/3307352/wordpress-custom-url-rewrites

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