Error moving multisite to new domain
-
Hello,
I’ve just transferred everything from my old WP multisite to a new domain.
I had to create a fresh wp-config file to get the site up and running.
So, I enabled multisite by adding this code:/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );Then, I went to network setup where I was instructed to add this code to the wp-config:
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘ridecambodia.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);and this code to the .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) ridecambodia/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ ridecambodia/$2 [L]
RewriteRule . index.php [L]First, I will note that this changed the dashboard a bit – it no longer has a ‘plugins’ tab in the menu and it no longer has the ‘network admin’ tab in the dropdown menu for ‘My Sites’.
Secondly, when I try to visit the dashboard for my second site I get an Internal Server Error.
I have checked everything with Godaddy and they confirm that everything is set up properly on their end.
I’m totally lost. I’ve done heaps of Googling and although I’ve found similar stories, I can not find an answer that works for me.
The website is:
https://ridecambodia.com
and the second site that I can’t access is https://ridecambodia.com/siem-reap/
…although, if you follow the link for the second site it does go to the page but the layouts completely broken.I’ve copied all of the wordpress files in the folder ‘/ridecambodia’ as this is an additional domain on my hosting account.
ANY help will be hugely appreciated!
Thanks
- The topic ‘Error moving multisite to new domain’ is closed to new replies.