I need to create a complex WordPress-powered set up, which I would like to run from a single code base.
My setup is complicated by a number of factors. First of all I already have software running the site’s homepage, so I cannot install WordPress in the root of the domain.
example.com // <- site powered by a non-WordPress engine
To this, I would like to add a multisite installation running in a sub-directory structure:
example.com/multisite/ // <- multi-site installation of WordPress
example.com/multisite/site1
example.com/multisite/site2
(...)
So far, this is easily done. The complexity arises when I want to also power some sub-domains with this WordPress installation:
site3.example.com // <- subdomain sites I would also like to power with WordPress
site4.example.com
(...)
I would be grateful if anyone could tell me if this is possible or not. If it is possible, have you managed to get something like this up and running? What’s the right way to go about this? Are additional plugins helpful?
I will appreciate any help.
If the subdomains are just for looks and don’t actually impact data. Then have all subdomains point to the same place, install the domain mapping plugin:
http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
That may help.
Alternatively you could just setup manual aliases to the main domain and as long as they all point to the exact same spot and you turn off any canonicalization it should work.