ERR_TOO_MANY_REDIRECTS after turning on HTTPS? one article on solving SSL round tripping issues

After a website is HTTPS enabled, the pages are not accessible properly and the browser prompts "ERR_TOO_MANY_REDIRECTS", which usually means that the site is caught in an SSL redirection loop. This article will explain why the error occurs and troubleshoot and resolve the issue.

Image [1]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve SSL round tripping issue

I. What are ERR_TOO_MANY_REDIRECTS?

ERR_TOO_MANY_REDIRECTS(Too many redirects) is an error triggered by the browser to protect the user's jump security. It indicates that the page is constantly redirecting between different URL Jumping between them creates a dead end loop and eventually the browser aborts the load.

start using HTTPS After this error, it will be related to the following situation:

  • Repeated redirects between HTTP and HTTPS
  • Configured multiple conflicting redirection rules
  • CDNThe cache or plugin cache has not been updated.
  • WordPress configuration or host-side setting error

II. Analysis of common causes

1. WordPress setup error

The site address (URL) is not set to HTTPS, causing WordPress to automatically redirect HTTP to HTTPS and the server to redirect HTTPS back to HTTP.

2. .htaccess redirection conflict

Image [2]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue

RewriteRule was set multiple times, or the same redirection logic was enabled in the plugin or hosting control panel, causing a loop.

3. CDNs or reverse proxies do not pass protocol headers correctly

as if Cloudflare,Nginx No X-Forwarded-Proto is passed, and the application layer misidentifies the current protocol as HTTP.

4. Cache plug-in not refreshed

WP Super Cache,LiteSpeed Cache and other caching plugins also retain the old HTTP version of the jump logic.

Image [3]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue

III. Complete guide to the steps to be taken to resolve the issue

Step 1: Temporarily disable the plug-in

  • log in FTP or Host Panel
  • go into /wp-content/plugins/ catalogs
Image [4]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue
  • Rename the cache plugin folder (e.g. litespeed-cache) to litespeed-cache-disabled
  • Refresh the page to make sure the jump error is gone

If the error disappears, it means the problem is coming from the cache plugin. Clearing the cache or reconfiguring it will do the trick.

Step 2: Check WordPress Address

  • log in WordPress the area behind a theatrical stage
  • Go to [Settings] > [General]
  • Make sure the WordPress address (URL) and site address (URL) are both https:// beginning
Image [5]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue
  • Save changes and refresh the page

Recommended Use https://yourdomain.com format, avoid mixing www and non-https.

Step 3: Repair .htaccess Redirection in

Open the root directory of the .htaccess file (if using Apache):

RewriteEngine On
RewriteCond %{HTTPS} ! =!
RewriteRule ^(. *)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule

Be careful not to add similar redirection codes over and over again, just keep a copy of the valid rule.

Image [6]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue

Step 4: Check Server Nginx or Reverse Proxy Settings

If you use Nginx orPagoda Paneldeployment, confirm the following settings:

server {
    listen 80; server_name yourdomain.com ;
    server_name yourdomain.com www.yourdomain.com; return 301 www.yourdomain.com;
    return 301 https://$host$request_uri;
}

Ensure that no HTTP→HTTPS→HTTP round-robin passes are formed in upstream or proxy servers.

IV. Final confirmation: clear all caches

  • Clear WordPress Cache Plugin Cache
Image [7]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue
  • Clearing CDN (e.g. Cloudflare) caches
Image [8]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue
  • Clear your browser cache or revisit the site using no-trace mode
Image [9]- ERR_TOO_MANY_REDIRECTS after turning on HTTPS?An article to solve the SSL round tripping issue

V. Recommendations for prevention

  • Harmonize WordPress and server rules with HTTPS enabled
  • Avoid multiple bounce settings (CDN/plugin/server at the same time)
  • Test that the redirection works before turning on the caching plugin
  • Check HTTPS status with SSL inspection tools like Why No Padlock?

summarize

ERR_TOO_MANY_REDIRECTS is a common but completely controllable issue in HTTPS websites. Sorting out WordPress configuration, server redirection logic and CDN settings, you can quickly locate and resolve this error, allowing theSSL Smooth go-live and stable website access.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
Author: linxiulian
THE END
If you like it, support it.
kudos152 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments