ERR_TOO_MANY_REDIRECTS WordPress SSL migration

Username (e.g. epiz_XXX) or Website URL

http://onlinesuccess101.com

(please specify the website or account you are asking about)

Error Message

ERR_TOO_MANY_REDIRECTS
(please share the FULL error message you see)

Other Information

I recently tried to setup SSL on my wordpress site. I got ERR_TOO_MANY_REDIRECTS for my site. I updated the SITE_URL to https:// and same with HOME_URL in database. It did not work for me. Then I tried updating the .htaccess file to force redirect to SSL but it didn’t work I also added.

This is what I changed and it didnt even load the homepage. .htaccess

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]

in wp-config.php

define('FORCE_SSL_ADMIN', true);
define('RELOCATE', TRUE);
$_SERVER['HTTPS'] = 'on';
define('WP_HOME', 'https://onlinesuccess101.com');
define('WP_SITEURL', 'https://onlinesuccess101.com');

.

Nothing worked. I have since removed everything I’ve done and it’s all working on http:// now. Waiting for some guidance to migrate to SSL.

Cloudflare is active on my domain.

Any help would be completely appreciated

3 Likes

Thank you it worked.

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