Skip to content

Knowledge base

Search every guide

Fixing "Too many redirects"

Usually a mismatch between http, https and the site address.

The browser gave up because the page kept redirecting in a loop.

  1. Clear your browser cookies for the site, and try again.
  2. Check the site address: in wp-config.php or Settings → General, WordPress Address and Site Address should be identical and both start with https:// (with or without www, but the same).
  3. Check `.htaccess`: remove any HTTPS or www redirect rules you added, and test.
  4. Disable redirect or SSL plugins by renaming their folders in wp-content/plugins.

To set the address without the dashboard, add these lines to wp-config.php: define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');