Nginx + Redirection Plugin breaks Permalinks [closed]

I notice a couple of things right off the bat.

First, the try_files parameter in your root location block should be:

try_files $uri $uri/ /index.php?$args;

Also, I have this block in my own conf file (using Nginx and Redirection together just fine) but you seem to be missing it:

location @wp {
    rewrite ^/files(.*) /wp-includes/ms-files.php?file=$1 last;

    rewrite ^(/[^/]+)?(/wp-.*) $2 last;
    rewrite ^(/[^/]+)?(/.*.php) $2 last;

    rewrite ^/(.*)$ /index.php?q=$1 last;
}

The first rewrite there is for multisite, so you may or may not need it …

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