Skip to main content

Redirect Error

Error "redirected you too many times"

If your WordPress site encounters the "redirected you too many times" error, it means your site is repeatedly switching between multiple URLs, and the browser is unable to properly load the desired page. This issue usually occurs due to incorrect URL or HTTPS settings. Below, we explain the steps to resolve this error:

  1. First log into your Zoneit management panel.
  2. In the Websites section, select your desired site.
  3. Go to site settings section and in access section, select file manager.

alt text

  1. Open wp-config.php file and add the following code to the beginning of this file.
$_SERVER['HTTPS'] = 'on';
define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']);
  1. Save the changes you made. Open your browser and reload the site to check if the issue is resolved. If the problem persists: Clear your browser's cache.