Please Help! Website Showing 'Too Many Redirects' After SSL Install

Hi There!

I’m running a WordPress Multi site installation on AWS. The installation is provided by Bitnami.

I installed the SSL certificate via the Bitnami LetsEcrypt tool

Immediately after the installation, my site kept on showing too many redirects across multiple browser

My domain is:

I ran this command: sudo /opt/bitnami/bncert-tool

It produced this output: after asking the usual questions it produce a “success” output

My web server is (include version): Apache (dont team know the version)

The operating system my web server runs on is (include version): Linux (don’t really know the version)

My hosting provider, if applicable, is: Amazon Web Services

I can login to a root shell on my machine (yes or no, or I don’t know): SSH? Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Amazon Lightsail

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): Have no idea

You have a few different redirects going on, but the problematic one is coming from WordPress.

It looks like you have your WordPress Site URL (or have a plugin that does something to the same effect), set to .

But Apache is trying to force the URL to

So the two of them are getting in a conflict, and just bouncing redirects between each other.

I think you first need to decide which one you prefer to use, and then change either Apache or WordPress (depending on which URL is the “correct” one) to prefer that URL.

Hi @_a

Thank you sooooo much

I’ll prefer that of Apache (www-version) how do I change the WordPress URL

Adding this line of code should work?


So I’ve tried adding that line of code, still nothing. I think maybe it’s best if I try to change the Apache URL instead, but I don’t really know how to do that. Any Idea?

I think that probably should have worked - that’s what’s suggested on .

The other possibility is that the redirect is being generated by one of your plugins, but there’s no way for me to know really.

It’s a matter of looking in the Apache configuration and trying to identify which line is generating the redirect. This can help you get started:

grep -RiE "(rewriterule|redirect)" /opt/bitnami/apache2/conf

Meanwhile, I was thinking: is there a way to reverse the certificate install?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.