Permalinks contain unwanted space resulting in broken links

You can check how the site_url is stored in the wp_options table – make sure there is not a space after the url.

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