Hi,
Is it possible to switch which site is the "root" site on a network with subdirectory install? I have a site at "/" and another site at "/draft" and I'd like to swap them.
Can this be done?
Thanks!
Hi,
Is it possible to switch which site is the "root" site on a network with subdirectory install? I have a site at "/" and another site at "/draft" and I'd like to swap them.
Can this be done?
Thanks!
Yes. I just did that in a test site to see what would happen. I edited the wp_blogs table directly in phpMyAdmin. The result seems a little weird, and I have not done any serious testing, but nothing very bad has happened so far.
...later...
Ah, I see why it's weird. The wp_site table and the siteurl and home entries in both options tables have to be changed too.
Thanks Rod. I'll give it a whirl, too. I was worried that the root blog needed to have ID=1 for some reason?
Read Ipstenu's post for the pitfalls:
http://tech.ipstenu.org/2010/dig-yourself-out-of-a-hole-multisite-edition/
You must log in to post.