Common Causes and Solutions for ERR_TOO_MANY_REDIRECTS in WordPress

Encountering a WordPress site in the "ERR_TOO_MANY_REDIRECTS" error, which indicates that the browser is accessing the site with a trappedInfinite Redirection Loop. This article will describe the common causes regarding this issue and provide a few steps to resolve it.

ERR_TOO_MANY_REDIRECTS logo2

Common causes

  1. Inconsistent WordPress and site address settings
    in the event thatWordPress URL SettingsA mismatch with the actual URL of the website may result in a redirection loop. A common scenario is that a website's "WordPress Address"and"site address"Inconsistent settings.
  2. Caching issues
    browser cache,WordPress CachingOld data in the cache may trigger a redirection error. If the wrong URL is stored in the cache, accessing it may result in a redirection loop.
  3. plug-in conflict
    Certain plugins, especiallyCaching Plugin,Security Plug-insmaybeSEO plugin, may improperly modify a site's URL or redirection settings, causing problems.
  4. Incorrect .htaccess file configuration
    If the site's.htaccessIncorrect file configurations, especially rule configurations related to redirection, can lead to infinite redirection issues.
  5. SSL certificate and HTTPS setting error
    When enablingSSL certificateAfter that, if the site is not properly set up to redirect from HTTP to HTTPS, or if the site is set up with an inconsistent SSL configuration, it may result in a redirection error.
  6. Theme or custom code issues
    now and thenCustomized code(e.g. functions, filters, etc.) orConfiguration in ThemesIt can also cause redirection errors, especially in the URL settings section of the theme.
ERR_TOO_MANY_REDIRECTS logo

Repair method

1. Check WordPress URL settings

Start by checking WordPress for "WordPress Address (URL)"and"Site address (URL)"Consistency.

Operational Steps:

  • Log in to the WordPress backend.
  • go into Setting > GeneralThe
  • Check that the "WordPress Address" and "Site Address" are the same. Make sure they both start with http:// maybe https:// starts with a slash and has no extra slashes (e.g., thehttps://example.com).
  • If there are errors, fix them and save the changes.
ERR_TOO_MANY_REDIRECTS check url

2. Clearing the cache

Clear your browser cache,WordPress Cachingand server caching to ensure that data in the cache does not interfere with access.

Operational Steps:

  • Clear Browser Cache: Clear browser cache cookies, using Google Chrome as an example:set up > Privacy and Security > Delete Browsing Data , or use the shortcut "Ctrl + Shift + Del"
ERR_TOO_MANY_REDIRECTS cleans up browser cache
  • Clear WordPress Cache: If you use a caching plugin (such asWP Rocketetc.), log in to the plugin settings page and click "clear the cache".
ERR_TOO_MANY_REDIRECTS clean up wordpress change to

3. Disabling plug-ins

Disable all plugins and enable them one by one to find the plugin causing the problem.

Operational Steps:

  1. Log in to the WordPress backend.
  2. go into plug-in (software component) > Installed plug-insThe
  3. Select "batch operation"and click on "deactivate"All Plugins.
  4. Check if the site is back to normal. If it returns to normal, enable the plugins one by one and check the site after each one until you find the plugin that is causing the problem.
ERR_TOO_MANY_REDIRECTS disable plugin

4. Repair .htaccess file

in the event that.htaccessThe file is misconfigured and may cause redirection problems.

Operational Steps:

  • Access your WordPress root directory using an FTP client such as FileZilla or through the hosting panel.
  • find out.htaccessfile and delete or rename the file
ERR_TOO_MANY_REDIRECTS to find htaccess files
  • regenerate.htaccessFile: Log in to the WordPress backend and go to the set up > Permanent linkTo do this, click on "Save Changes" without changing anything. This will automatically create a new.htaccessDocumentation.
ERR_TOO_MANY_REDIRECTS Configuring Fixed Connections

5. Check the theme and custom code

If the problem occurs after enabling a new theme or adding a custom code, try restoring the default theme and disabling the custom code to see if the problem is solved.

Operational Steps:

ERR_TOO_MANY_REDIRECTS Changing the Default Theme
  • Check the custom code: if you have a custom code in thefunctions.phpor other places where custom codes have been added, try temporarily disabling them.
ERR_TOO_MANY_REDIRECTS check code

6. Check the SSL certificate

SSL certificate issues can cause redirection conflicts between HTTP and HTTPS, which can trigger circular redirection errors. Ensure that the SSL certificate is properly installed and configured to force HTTPS redirection rules.

  • Use online tools such as SSL Checker to check the SSL certificate of the site
ERR_TOO_MANY_REDIRECTS Checking SSL Certificates

reach a verdict

"ERR_TOO_MANY_REDIRECTS"Errors are usually caused byimproperly set up,plug-in conflictmaybeCaching and other issuesCause. Troubleshooting and fixing it by following the steps provided in this article can help you resolve the issue effectively. If the problem persists, it is recommended to contact the server operator to check if the server configuration is normal.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
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
This article was written by Early Season
THE END
If you like it, support it.
kudos27 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments