rewrite_rules problem

It sounds like you need to flush your rewrite rules. There is a flush_rewrite_rules() function, although the codex isn’t terribly useful with how it is used.

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