WordPress multi domain: page redirect to main domain whenever WordPress do the URL guessing issue

This is intended behaviour for WordPress install and will use the value set in the siteurl entry in the options table.

What you want to achieve will probably have to be done with Nginx or Apache using Rewrites, or proxy_pass (for Nginx) or RewriteRule and ProxyPass (Apache)

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