WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]

Do you have mod_rewrite enabled?

What about using this –
domain name/%year%/%monthnum%/%day%/%postname%/

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