In the process of using the website, sometimes you get an error when accessing the website, like “Website redirects too many times” (Too Many Redirects). Most of this error is because you configure the wrong path or do the redirect configuration at the server/hosting incorrectly, there is also a case that the domain you use at the same time has many pairs of Nameserver of many providers.
To fix this error, we will do the following:
Access to File Manager & edit the wp-config.php file and add the following code, right after <?php
example.com with your domain.
If your website has
www.domain configured, add the following to correct the format:
Next, go to Redirect in cPanel to ensure you are not configuring the redirect.
And proceed to disable the
.htaccess file by renaming the
.htaccess file to
After you have done the above steps, go anonymously, use 3G/4G, clear the browser cache to ensure there is no cache.
Wishing you success!