• I recently moved files and db from 1 cPanel account to another, so I had to update the path, as example.com was now an add-on domain, rather than the primary domain.

    However, now http://example.com redirects to https://example.com/wp-signup.php?new=example.com

    This is my wp-config.php:

    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘example.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);
    // define(‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] );
    // define(‘SUNRISE’, ‘on’);

    Help appreciated.
    Steve

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Root domain redirected to wp-signup.php?new=example.com’ is closed to new replies.