Posted: March 16th, 2009
Getting WordPress MU working on a Zeus Web Server

Anyone on a Zeus web server will know that anything ‘Htaccess related’ is going to cause you a headache. After scouring the WordPress MU (or Multi-user) forums, I found lots of answered threads on exactly that. With some blood, sweat and tears I now have a working rewrite.script that does take care of most elements required.
My install of WordPress MU opted for the sub-folder option as it more closely resembles the working Rewrite.script for a standard WordPress install. Whilst the sub-domain route may be possible, this post is only looking a sub-folder install.
Below are some of the main points of the rewrite file:
- Rewrite the location of uploaded files /files/filename to /wp-content/blogs.php?file=filename
- Rewrite the “WP special files” on sub folder blogs e.g. /blog1/wp-login.php to /wp-login.php
- Rewite the “WP special folders and their files” on sub folder blogs e.g. /blog1/wp-content/ to /wp-content/, which will fix the style sheets not appearing on the sub folder blogs
- Rewrite the Permalink structure for all blog content (master and sub folder blogs) e.g. /blog/2009/03/15/hello-world/ to /index.php?q=/blog/2009/03/15/hello-world/
There is also a mention of Plugins in the Apache .htaccess, but I am yet to include this in. Although getting the above to work was tricky and the web void of much help, I do feel that the pieces have fit together in my head (finally!). I am more than happy to share my draft working rewrite.script, so please leave a comment.
Share this post:










Yes please!!
I’ve just encountered the vagaries of Zeus redirects (trying to port a working ecommerce site from Apache to Zeus) & I’m still some way from getting the pieces to slot together!
Any help (i.e. browsing your draft script) would be greatly appreciated!
Just sent the working draft to your email, so hope it helps. The script is still working hard on my WordPress MU install and currently not spotted any problems. Will clean up and post soon.
James, thanks so much for the script (aka the beast!). Thanks to your help, I’ve now been able to get MU WordPress and BuddyPress to work on our Zeus web server – you’re a legend fella!
Do I add the code to “rewrite.script” then upload to my root web directory? Also, what should the WordPress permalink structure be changed to?
Hi John,
1) Yes, add the rewrite.script file to the root web directory
2) I don’t think anything specific needs to be done re. permalinks and so you should be able to use this doc to get the structure your after: http://codex.wordpress.org/Using_Permalinks
Pretty much the script largely tells WordPress the pages not to redirect such as the admin section, images, CSS, some of which are shared as it’s the MU version.
Hope it works well for you.
James
Please can I have a copy of this rewrite.script . I’ve been trying to get my wordpress mu to work for ages, but I can’t find a way to do it. I would greatly appreciate this script
My email address is n.shoemark@googlemail.com if you could send it to me
Thankyou
Hey, If you’re still maintaining this I’d greatly appreciate a copy of you rewrite.script, I’ve been tearing my hair out trying to make this work. I have WPMU installed in a sub directory of a site and it’s just not happy!
Hi Dave,
You certainly can have a copy and I will email you shortly. I definitely ‘works’ though might have a few little areas to iron out. I now have both a Zeus and Apache server too, so its not actively looked at by me but sure it will save you many headaches!
James