Fix the Redirected You Too Many Times WordPress Error

The ERR_TOO_MANY_REDIRECTS error in WordPress, what causes the loop, and the fixes in the order that resolves it fastest.

“Redirected You too many times” error Basics

“Redirected you too many times” and err_too_many_redirects are the same error, and it mostly comes from the website's URLs being mapped wrong. In plain terms, WordPress shows it when your HTTP or HTTPS setup does not match your SSL.

For example, if your website has no valid SSL certificate but your home and site URLs use HTTPS, you will get the ‘Redirected you too many times' error every time.

redirected You Too Many Times "err_too_many_redirects''
Redirected You Too many Times.

Other things that can cause the same error:

  • Buggy plugins and themes
  • Due to .htaccess rule
  • Old Browser Data
  • Some time due to WordPress Cache

These are rare. Most of the time the culprit is a broken SSL configuration.

Fixing Redirected you too many times {err_too_many_redirects}

1.*Fixing with Site URL

I already mentioned that this error is mainly due to SSL misconfiguration.

Fixing Redirected you too many times error with the site URL is easy. You just need to change HTTPS to HTTP if your site does not have valid SSL and change from HTTP to HTTPS if your site has valid SSL. To do this you have 3 Methods mentioned below.

  • Method 1. Changing Site URL Through WordPress

    Site URL in General Setting

    If you can still reach your WP dashboard, check your site URL in WordPress settings. You will see two boxes (marked in the picture above), WordPress URL and Site URL. If your hosting has a valid SSL, change both to HTTPS. If you have no SSL certificate, leave them on HTTP.

  • Method 2. Changing Site URL Through wp-config

    wp-config changing site url

    If you are not able to change your URL from the WordPress dashboard, you can change it simply from wp-config.php the file. In order to do this, you need to access your file manager from cPanel or FTP and goto public_html (Home directory) of your site and search wp-config.php, now select the file and click on edit, go to the last section and Paste this code
    define( ‘WP_HOME', ‘http://yourdomain.com' );
    define( ‘WP_SITEURL', ‘http://yourdomain.com' );
    Note-> Do not forget to replace yourdomain.com with your own site domain and change HTTP to HTTPS if you have a valid SSL

  • Method-3-> Changing Site URL from phpMyAdmin, (1) Finding Database Name

    wp-config Database name

    To change your site URL from phpMyAdmin, firstly you need to know your site database. Access your file manager and go to public_html and then open wp-config.php, there will be a line /** The name of the database for WordPress */
    define( 'DB_NAME', 'u784880140_d3VTS' );
    .
    Here u784880140_d3VTS is database name so just write down it in your notepad.

  • Method 3. (2) Entering in phpMyAdmin

    wp_options in phpMyAdmin

    Open cPanel, search for phpMyAdmin and log in. You will see every database on your hosting account. Click the one that matches the name in your notepad, type options in the search box and hit enter. Click the table ending in _options (usually wp_options), find the site URL and home URL rows, and set them to HTTPS if you have a valid SSL or HTTP if you do not.

Using Cloudflare? Check its SSL/TLS mode before anything else. On Flexible, Cloudflare talks to your server over plain HTTP, WordPress redirects it back to HTTPS, and the two pass your visitors back and forth forever. In your Cloudflare dashboard go to SSL/TLS and pick Full (strict) if your host has a valid SSL certificate, or Full if it uses a self-signed one. Then make sure your site URL starts with https.

Rahul Singh, the author of Blogger Tutor
Let me Help You Fix your Website

I can fix most website issues in a few minutes. Message me on Fiverr and I will sort yours out.

2. Fixing err_too_many_redirects by deactivating Plugins and themes.

A malicious or broken theme or plugin can also cause this error, and deactivating or deleting it fixes it. If you cannot deactivate a plugin from the WordPress dashboard, open cPanel, go to public_html>wp-content>Plugin and rename that plugin's folder. WordPress then switches it off. Themes work the same way, but leave at least one valid theme untouched.

3. Fixing Redirected You too many times by modifying .htaccess file

The .htaccess file controls how your server responds to search engines, browsers and bots. To fix this error with it, rename the .htaccess file in your home directory, public_html.

Download a copy to your PC first, then rename or delete it on the server. Clear your cache and reload.

4. Fixing with Old Browser Data

This error is sometimes caused by your browser data like saved form, cache and cookies. You just need to clear all data from your browser and reload the page.

To clear your browser data, open your site and click on the lock icon at the top left side of the search bar. Click on cookies and remove.

5. Fixing with WordPress Cache

A WordPress cache speeds up your site, but a stale one can also trigger the redirect loop. Clear it from your caching plugin, such as WP Rocket or Auto-Optimize, then load the site in incognito mode.

6. Fixing with DNS Record

This one shows up when your domain is mapped to the www version but your site URL has no www. It mostly happens when Cloudflare is set up without the DNS mapping.

Hosts like SiteGround connect Cloudflare through a CNAME mapping rule, and a www mismatch there can send your site round in circles, which is exactly what this error is.

Read -> How to Speed UP Your Website Loading Speed

Still stuck? Contact our live chat support.

Share your love
Rahul Singh
Rahul Singh

I'm a WordPress developer and performance engineer. I have been working with WordPress since 2017 and have shipped more than 700 WordPress and WooCommerce projects. Most of my time goes into Core Web Vitals, block based development, database and backend optimisation, caching and server tuning, and I write here about what actually holds up in production. You can check my professional background on LinkedIn, and the client work behind it, with its public review record, on Fiverr.

Articles: 94