Cloudflare's Flexible mode does not always play nice with WordPress. Thankfully, it's easy to fix this!
What errors might I see?
If you are experiencing on (or more) of the following errors, and use Cloudflare's flexible SSL with WordPress, then this article is for you!
ERR_TOO_MANY_REDIRECTS
in Google Chrome and Chromium-based browsers
This page isn’t redirecting properly
in Mozilla Firefox
- Other redirect-related error messages in other browsers
How do I resolve this issue?
- Login to your TinkerHost Dashboard, choose your hosting account, and select the "Control Panel" button
- Scroll down to the
PHPMyAdmin
option, and click "Connect Now" next your WordPress database table
- Locate the table with the name ending with
_options
and select it
- Locate the two rows with the column
option_name
matching siteurl
and home
. They should be the first two in the list!
- Double click the value in the two columns described above, and edit the start of the URL from
https://
to http://
Don't know which database to use? Check the "Database Details" section in Softaculous (You'll have to click "My Installations" at the top first)
That did not work, anything else I can try?
You can make sure your Cloudflare settings are enforcing Flexible SSL mode on your domain:
- In
SSL/TLS
→ Overview
, "Encryption Mode" is “Flexible”
- In
SSL/TLS
→ Edge Certificates
, “Always Use HTTPS” is "Off"
- In
SSL/TLS
→ Edge Certificates
, “Automatic HTTPS Rewrites” is "Off"
Also, ensure that the error message you are receiving matches on listed at the top of this post.
Still having issues? Try installing the Really Simple SSL plugin, and enabling the "Use HTTPS on all pages" option.
I am now using "Full" or "Full (Strict)" SSL mode
Congrats! These are the recommended option, and provide you with the best security. In the numbered list above, repeat all the steps except for number 6, where you will do the opposite (Replace http://
with https://
).
Installing the Really Simple SSL plugin may be able to help with any SSL-related error messages as well