This page should hopefully help out with the most common questions people have. I will be adding to this page as time goes on. If you don’t find answers here or in the readme, please feel free to ask questions. 🙂
- Are my plugins compatible with Virtual Multiblog?
- Why are all of the blog addresses showing the same blog?
- Okay, I’ve made a directory for a second blog. Now what do I put in it?
- Does Virtual Multiblog work with WordPress version x.x?
- The new version is missing the plugin folder. What happened? Do I still need it?
- Can the blogs have different themes and plugins?
- What is a “symbolic link” (symlink) and how do I make one?
- I’ve redirected different domains to my site, and set up the config files, but the domains all show the same blog. What’s going wrong?
- How do I upgrade from version 2.1 to version 2.2?
- Is there a way to make it so that when you log on to one blog you’re logged on to them all?
- Q: Are my plugins compatible with Virtual Multiblog?
A: Almost all plugins are completely compatible with this system. The only known exceptions are plugins that alter the .htaccess file; this mostly comprises caching plugins such as WP Super Cache.
- Q: Why are all of the blog addresses showing the same blog?
A: Most likely, the system can’t figure out the VUSER for some reason. When that happens, it uses the autoconfig info, or if you’ve set up a $vusers list, the first entry on that list. To confirm that it’s just defaulting to the first thing on $vusers, move something else to the top of the list.
Similar problems can be caused if a config file has an incorrect name, so check that as well.
- Q: Okay, I’ve made a folder for a second blog. Now what do I put in it?
A: Nothing. In fact, get rid of the folder. If you want a “virtual” blog in a subdirectory, that subdirectory isn’t going to actually be a folder, it’s going to be a symbolic link. (See more on Symbolic Links.)
If you’re making a virtual blog in a subdomain (e.g. newblog.example.com ) you don’t even need the symlink. Simply point the subdomain to the same location as your primary domain.
The whole point of this exercise is that all your blogs will run off a single set of WordPress files. You should never have to have multiple copies of the files in different places.
- Q: Does Virtual Multiblog work with WordPress version x.x?
A: As of this writing, Virtual Multiblog 2.6 has been tested through WordPress 2.8. Because of the nature of the VMB system, I do not anticipate basic functionality breaking in future versions, unless WordPress radically changes the way it works.
Although people tend to refer to VMB as a “plugin” for WordPress, it really isn’t: Virtual Multiblog doesn’t run on top of WordPress, WordPress runs on top of Virtual Multiblog! (This is why I consistently refer to it as a “system” rather than a “plugin”.) Because of this, there is very little in the basic function that depends on how WordPress works. That makes it pretty future proof.
It does have some “plugin-like” functions that are more dependent on WordPress, and thus may change or break over time. At this time that code adds no major functionality beyond a diagnostic page in Admin.
- Q: The new version is missing the plugin folder. What happened? Do I still need it?
A: Sorry, that’s two questions. The plugin is no longer needed as of VMB version 2.4. Before upgrading, you should deactivate the “Virtual Multiblog Support” plugin in all blogs. The easiest way to do that is to delete the file. The functions formerly handled by the plugin are still there; I just got rid of the plugin, which was acting as a bootstrap.
- Q: Can the blogs have different themes and plugins?
A: Yes. Each blog runs as a completely separate install of WordPress. As such, they have separate Admin sections, separate Users, and separate settings (including which themes or plugins are active).
A: A symbolic link, or “symlink” is a type of shortcut originating in Unix-like operating systems. Basically, it is a second representation of a particular file (or in this case, directory). A symbolic link basically acts as though it is the target file or folder. In the case of this system, you can put WordPress files in one folder and make a symlink pointing to that first folder. The symlink acts as a second folder that has all the contents of the original.
As for making them, that’s a huge topic, and too big for this page. It totally depends on your system, your OS, settings within your OS, and so forth, though I can say that they can be made in Unix or Linux; I have personally made them in Mac OS X (using Cocktail); and I am informed by commenters that you can make them in Windows.
If you don’t know much about them, it might be best to ask your hosting company to make them for you. That’s what I do. 🙂
For further information, you might find the page at Wikipedia useful.
- Q: I’ve redirected different domains to my site, and set up the config files, but the domains all show the same blog. What’s going wrong?
A: It could be many things. First off, a URL redirect will not work; the domains must all point directly to the server (or name server). Next, the server must have those domains pointing to the same directory with the install of WordPress. (In Apache the server admin would most likely set up “Virtual Hosts” that all point to the same place.)
A bit of info that might help with troubleshooting: if the system can’t figure out what VUSER to use, it will try to use the default. (If you’ve set up the
$vuserslist, the default is the first on the list.) Thus, problems determining VUSER can result in different virtual blogs displaying the same content.
- Q: How do I upgrade to a new version?
Step 1: Set your configuration files aside.
Step 2: Delete the existing
/wp-content/multiblog/folder. Replace it with the new copy. Put your existing config files back into the
Step 3: In the root WordPress folder, replace the old wp-config.php with the new one.
Step 4: If you have the
multiblog-supportplugin installed in your plugins folder, delete it. You don’t need it anymore.
NOTE: If you previously had to do strange things to your
$vusersor table-prefixes relating to double-slashes, I think that’s fixed as of in 2.2. So if you’re having trouble, you may try undoing whatever you had to tweak in the old version. (I was never able to reproduce that error, so I don’t know what exactly caused it, but I’m hearing that it’s fixed now.)
- Q: Is there a way to make it so that when you log on to one blog you’re logged on to them all?
A: Not at present. Somewhere down the line I would like to implement this, but I don’t expect it any time soon.