Support » Networking WordPress » This page isn’t working: ERR_TOO_MANY_REDIRECTS

  • Resolved SRD75



    I’ve migrated the database of to

    When I try to load, I receive an error:

    This page isn’t working redirected you too many times.
    Try clearing your cookies.

    If I delete my cookies for the domain, and clear my browser cache, I get to the login screen where I login okay, but get redirected to where I receive the same error.

    This is part of my wp-config.php:

    define('WPLANG', '');
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');

    This is my .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Help appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Tim Nash


    Spam hunter

    If you have the sites correctly set in the db there is no need for the WP_HOME or WP_SITEURL and indeed might be complicating the issue. Also make sure you have completely cleaned out your cookies, or try an incognito mode. Finally make sure you have done a full search and replace either by using something like wp-cli search-replace function or a plugin like velvet blues.

    Thread Starter SRD75


    I removed WP_HOME & WP_SITE_URL from wp-config.php, but the issue remained.

    I exported the site’s db, did a find/replace for the old domain, replaced with new domain, but the issue remained.

    I ended up using WP Migrate DB Pro, which worked.

    Thanks for your help Tim.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This page isn’t working: ERR_TOO_MANY_REDIRECTS’ is closed to new replies.