Custom post type permalink returns 404

Have you already flushed your WP_Rewrite rules? The easiest way to do that is just re-save your Permalink settings.

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