Site not loading after installing certbot letsencrypt ssl

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: The site was working fine then i choose to install certbot letsencrypt ssl

It produced this output: Then the site stop loading and i can't access my wordpress backend

My web server is (include version): Debian (9.13)

The operating system my web server runs on is (include version): Debian (9.13)

My hosting provider, if applicable, is: google cloud

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

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

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

1 Like

Your site is suffering from a redirect loop.

This can sometimes happen if you're running behind Cloudflare and have an HTTP-to-HTTPS redirect setup, which Certbot does automatically now.

The redirect malfunctions because it doesn't understand that Cloudflare is sitting in front of your site.

One way to fix this is to go into your Cloudflare security settings ( and make sure the SSL option is set to "Full".

1 Like

Hi @richkid

checking your domain you have two loops - -> ->

So first step: Find and remove these loops.

That's not a command. Your exact command is required.

1 Like

Thank you for your timely response the site is responding now after i follow your instruction but it seems the SSL is not working because the lock is not showing.

Thank you.


Glad to see that you fixed the redirect loop.

The SSL is working, but your browser complains because of something called mixed content.

It basically means that your site is coded in a way where it still loads some element (scripts, images, etc) insecurely.

This can be a problem with your WordPress theme, or something else.

You can use this tool to figure what parts of your site you need to fix up before the mixed content warnings will go away:

For example:

An image with an insecure url of "" was loaded on line: 744 of

Most likely this URL will be somewhere in your WordPress database, so you will need to locate and update it to use be an point to instead.

Rinse and repeat.


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