Support

Akeeba Backup for WordPress

#27394 After migrating multisite cannot connect Network Admin

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

damnsharp
Hi team,
I have succesfuly migrated a Multi Site and I can login to the new site. But when I go to Network Admin and Dashboard it takes a few minutes untill I see the error message ERR_TOO_MANY_REDIRECTS

What could be the problem or can I try to find out.

Thanks!
Damiaan.

nicholas
Akeeba Staff
Manager
You have tried to restore a multisite WordPress installation in a subdirectory (e.g. http://www.example.com/something) instead of the domain's root (e.g. http://www.example.com). This won't work. It's not supported by WordPress. It will cause a redirect loop as WordPress expects the network admin to be in the domain's root, not a subdirectory / subdomain.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

damnsharp
Good morning Nicholas,
Thank you for reply.

So understand I right, it is not possible by WP design to have a multisite in a subdirectory?

Is it possible to have one domain name with several different multisites?
So for example:
www.domainname.com/multisiteone
www.domainname.com/multisitetwo
www.domainname.com/multisitethree

And
www.domainname.com/multisiteone
www.domainname.com/multisiteone/siteone
www.domainname.com/multisiteone/sitetwo

Hope you understand what I mean.

Bye,
Damiaan.

nicholas
Akeeba Staff
Manager
I understand what you mean.

You cannot have the following layout:

www.domainname.com/multisiteone
www.domainname.com/multisiteone/siteone
www.domainname.com/multisiteone/sitetwo

You can have the following layout:

www.domainname.com/
www.domainname.com/siteone
www.domainname.com/sitetwo

This is a WordPress limitation. Multisite installations must always be in the root of the domain, no matter if you used subdirectories or subdomains for the sites in the blog network.

You might wonder why does Akeeba Backup lets you perform a restoration on a configuration that's clearly unsupported by WordPress. There are two reason. The first one is that during the backup extraction we don't know if you have a backup of a multisite WordPress installation (or even if you have a WordPress installation in that backup archive). This is only known after having restored the database. At this point we'd need to know if you are in a subdirectory before telling you that you shouldn't continue. However, we cannot trust the information reported by the web server because in a good 5% of the cases this will be a lie without correcting the .htaccess file's RewriteBase. This will only be possible after going through the Site Setup and Data Replacement pages where we know for sure the URL structure (or at least, we know for sure what you said it is). Well, at this point it's a bit too late to take any further action since the restoration is complete.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

damnsharp
Thanks Nicholas!
Is the following possible? So with subdomains?
I know this is beyond the scope of the support question but it would be helpful

multisite01.domainname.nl/site01
multisite01.domainname.nl/site02

multisite02.domainname.nl/site01
multisite02.domainname.nl/site02


nicholas
Akeeba Staff
Manager
No. I already explained this above:

This is a WordPress limitation. Multisite installations must always be in the root of the domain, no matter if you used subdirectories or subdomains for the sites in the blog network.


One domain == One WordPress Multisite installation.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

damnsharp
Ah yes, didn't read it right. Thanks!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.