Back to category link

Use echo get_cat_name( $cat ); instead of the_category() inside the link. the_category() returns a link, so you will have a link within a link.

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