Correction…everything is not working perfectly.
Only the homepage and the dash are visible. EVERYTHING else gives a 500 internal server error.
Ok, getting further.
This line fixes/breaks everything:
RewriteBase / (pages display, new sites return a 404)
RewriteBase /hub/ (500 internal server error on everything)
Before I had the domains setup, the sites were setup like this:
I moved the sites onto their respective domains and I assume that this is where the problem lies.
Just can’t get my head round what exactly is broken.
Well. You can’t just pick up and move Multisite for one.
Also you can’t have network1.multisite.com/subsites and network2.multisite.com/subsite unless you set up WP as follows:
Install WP in multisite.com
Create subdomain network.
Install a Multinetwork plugin.
Create subsites off your subsites.
If you just picked up and moved Multisite off your local host, there’s a search/replace tool you should use. See http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite
Hey man,
Obviously I ran a search and replace on my entire DB before moving the site and importing it. If I hadn’t, the site wouldn’t be working as well as it is.
The organization I’m working for runs hundreds of sites on subdomains of its academic domain and as a result there is no way I’ll be able to install on the root .ac.uk domain.
They had this all working on another server which was hacked and is now sat behind a very strict firewall and isn’t in use.
I’m pretty sure I’ve seen all the relevant settings but is there anything else I can look for on the hacked server?
Additionally, I moved the old sites to new subdomains using the exact same approach. No problems there.
Got it working. Deleted multisite references from wp-config, emptied my .htaccess file, deleted these tables from my databases:
- _blogs
- _blog_versions
- _site
- _sitemeta
Then I re-enabled multisite in wp-config and ran through the installation process again, making sure subdomain install was set to false.
Hope this helps someone else!
Obviously I ran a search and replace on my entire DB before moving the site and importing it. If I hadn’t, the site wouldn’t be working as well as it is.
Did you use the tool linked to on the page I pointed you at?
Because if not, that’s why. You cannot just do a basic search/replace with a Multisite. Or you get exactly what you got.
Ah,
That makes sense now. I didn’t use the tool as I’d already got the site up-and-running.
Obviously there are a few variables hidden in there somewhere that didn’t like my approach.
Thanks for your help man.
hi john penden ,
i am facing the same issue i have setup the multiwebsite option through the wp-config.php and after i follow all the steps change .htaccess code provided by installation process.
the main issue on the website is i am creating a new website and when i visit to the website it show up a 500 error page. not working at all.
please help me for this.
thanks.
homesh paul
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Please post your own new topic with your own details.
Also do not post again is all caps, your post has been de-capped. It’s considered rude. 😉
http://wordpress.org/support/forum/how-to-and-troubleshooting#postform