Remove site root trailing slash

add this line to functions.php

remove_filter('template_redirect', 'redirect_canonical');

and don’t forget clear cache or test on clean browser

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