Moved site from primary domain of 1 cPanel, to add-on domain of 2nd cPanel, now site won’t load

Question

I had a multisite WP install as the primary domain of a cPanel account. The website had the primary domain, plus a network site using a different domain.

I decided to move this website to become an add-on domain of a different cPanel account which had a totally unrelated primary domain.

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 http://example.com/wp-signup.php?new=example.com and I see the message in Chrome:

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

I don’t have any cookies for this domain.

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’);

I’ve renamed .htaccess to .htaccess.temp and the issue remains.

I’ve checked wp_blogs and wp_options and the domains are correct.

Help appreciated.
Steve

0
, Steve 4 years 2019-11-30T12:44:33-05:00 0 Answers 85 views 0

Leave an answer

Browse
Browse