WPMU – No Symlinks!

WordPressMU uses symlinks to do the multi-blog thing. Blogs names are linked to in a “blogs” directory (avoids having the root directory writeable by the webserver!) which makes life easier on me writing mod_rewrite rules for various reasons.
Unfortunately, that requirement means that PHP has to be able to symlink directories which isn’t possible all the time due to security settings on servers. Therefore, here’s two htaccess.dist files that you can drop into your WPMU installation, then run your installation again (delete the existing .htaccess files)
Put this htacess.dist in the root directory: http://blogs.linux.ie/download/htaccess.dist
(If you’ve downloaded this file already, grab it again. I updated it so wp-login.php works, and wp-images show in the backend!)

Rename this and copy it to wp-inst/htaccess.dist: http://blogs.linux.ie/download/wp-inst-htaccess.dist

Delete the existing .htaccess and wp-inst/.htaccess and the install will run when you visit the root URL of your blog. You can delete the “blogs” directory too if you like! (Make a backup first though!)

3 thoughts on “WPMU – No Symlinks!

  1. Perhaps I’m missing the point but I don’t really see how WPMU is any different than the normal WP install. I use the normal WP and have multiple authors and users without a problem. What is the difference, if you don’t mind?


  2. I just installed wpmu and am trying to figure out how to create multiple blogs. Can anybody help me? Thanks.

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.