Site Keeps Getting Redirect to

Seeing a site on HTTP is not secure, and browsers will tell you that.

Maybe your browser has a setting where it doesn’t display this notice for HTTP sites, but others will still see it.

Please enable WP_DEBUG mode to get the actual database connection message. And be sure to compare it to any of the messages in this article: