Bedrock Boilerplate under a sub-directory and access through a reverse proxy setup

By disabling canonical redirection, the issue solved

remove_action('template_redirect', 'redirect_canonical');

Thanks to Mahesh Waghmare.

https://maheshwaghmare.com/avoid-wordpress-canonical-redirection/

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