Why Does My Website Redirect to HTTP Before HTTPS When Accessed Without a Trailing Slash?

Why Does My Website Redirect to HTTP Before HTTPS When Accessed Without a Trailing Slash?

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