Custom term link return 404 error

Simply dropping slug into href field does not make proper URL. You should be using API function to generate correct URL for a term archive – get_term_link().

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