To fix “ERR_TOO_MANY_REDIRECTS” ONLY when trying to access wp-admin page, you need to edit
Just copy this code
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
and paste it at the beginning of
wp-config.php file, just after the PHP tag. Hope your problem would resolve۔
Webmasters usually handle the “ERR_TOO_MANY_REDIRECTS” error message while installing SSL certificates. However, in some cases, users see the error message “ERR_TOO_MANY_REDIRECTS” even when the problem is resolved from the server.
This is due to the aggressive caching process of the Chrome web browser, which reloads the old content over and over again. So, if you use the “ERR_TOO_MANY_REDIRECTS” you can follow some of the simple methods below.
Check with other browsers
If you receive the error message “ERR_TOO_MANY_REDIRECTS” receive a message in the Chrome browser and then open the same URL with other browsers. If the error “ERR_TOO_MANY_REDIRECTS” also occurs in other browsers, the problem is possible from the server. In that case, you have to wait a few minutes or hours for webmasters to solve the problem.
Delete your browser information
Malicious browser extensions often redirect users to web pages that are full of advertisements and harmful content. So if you use the “ERR_TOO_MANY_REDIRECTS” after you have installed a new browser extension, you must remove it immediately. Just open a new tab and enter “chrome: // extensions” in the address bar. in. It opens the Extension Manager from which you can enable or disable extensions.
Check the system time and date
Web browser errors such as “err_cert_authority_invalid”, “ERR_TOO_MANY_REDIRECTS”; etc, etc. also occur due to incorrect date and time settings. Wrong date and time settings lead to incompatibility issues between the system clock and SSL validation, triggering different types of error messages. So make sure you check the date and time settings before blaming the web browser. Right-click on the taskbar and select “Adjust date and time”. Make the necessary changes from here and restart the computer.