Tricky multisite move
-
Hi,
I’ve been tasked with moving a multisite install to a new server.The new install is in place;
https://77.72.201.176/~absolute/Its now on the server before repointing the namesservers.
Its using subdirectories, not subdomains.If I don’t add the following multisite code to wp-config
Multisite define('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); $base = '/'; define('DOMAIN_CURRENT_SITE', '77.72.201.176/~absolute'); define('NOBLOGREDIRECT', '77.72.201.176/~absolute'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
I get the frontpage up ok (which is one of the 3x themes/sites), but get 404s for the other 2x themes/sites.
If I add it, I get a redirection issue;
Firefox reports that ‘The page isn’t redirecting properly’.The htaccess file I got from the existing site was very messy.
I have used a more generic htaccess.
See below;# BEGIN WordPress 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] # END WordPress
Can anyone offer any thoughts, please?
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Tricky multisite move’ is closed to new replies.