The MU forums have moved to

Mix subdomains and subdirectories (4 posts)

  1. chmac
    Posted 16 years ago #


    We're looking to add WPMU to an existing application (SmartHippo). So the current url for the existing app is

    We'd like to give *some* users blogs with subdomains, some with sub directories. For example:

    I've figured out how to do the subdomain part, without interfering with our main site. WPMU will be installed at with a VirtualHost ServerAlias of * and the site is configured as domain = and path = /. This works ok, except if the blog doesn't exist it redirects to which doesn't exist, but I can solve that.

    My question is, what additional site would I need to add in order to get setup, and would that work? Would I need to install a second WPMU instance?

    Any tips / suggestions would be much appreciated.

    Cheers - Callum.

  2. andrea_r
    Posted 16 years ago #

    Yep, you'd need two installs.

  3. chmac
    Posted 16 years ago #

    You're right, it's either two-installs or only subdomains or subdirectories, they can't easily be mixed.

  4. Josey-Wales
    Posted 16 years ago #

    can anyone expand on how to do the sub domain part with out ending up with, just and

    Does the main install have to be in the root? How do you work around this with .htaccess?


About this Topic

  • Started 16 years ago by chmac
  • Latest reply from Josey-Wales