Good Evening WPMUDEVers:
So, I am using pro sites and want site owners to be able to have domain mapping, as well as multi-domain options.
Here is my questions, with hypothetical facts:
- User1 creates a blog on my site, which is called, for example only, donuts.com. my site is a subdomain install, so user's site is: user1.donuts.com. so far so good.
-User1 now wishes to map his site to his own domain. Using domain mapping plugin, provided by my site, user maps his own site, called user1.com, over to user1.donuts.com. Now, people can find the site at both URLs, the mapped URL of user1.com, and the original URL at my site: user1.donuts.com.
-Here is the tricky part:
Let's say that my site has multi-domains.
For instance, donuts.com, and jellydonuts.com.
Now, the way I want it set up, is that everyone whose site is about jellydonuts (just imagine for a minute that there is some way to objectively verify this conditional criteria) is to have a multi-domain option: they can have their site at both donuts.com and jellydonuts.com, two domains that my site owns and provides. so, when our user1 registers on my site, if his blog is about jelly donuts, he will have the multi domain option of user1.donuts.com, and user1.jellydonuts.com.
if his site is about cream donuts, he will only have the option of user1.donuts.com. because his site is not about jelly donuts, he cannot use jellydonuts.com. there are no other domains provided by my site except for donuts.com and jellydonuts.com. there is no creamdonuts.com. but a cream donut is still a donut, so donuts.com is more than sufficient. it's only jelly donuts, my blogging obsession, that are so special that they get their own multi-domain treatment.
let's assume either complete honesty of those registering in providing the correct category of donuts on their site at time of registration, or, a moderated verification process. either way, assume that i can enforce the rule that if your site is not about jellydonuts, you cannot have that domain, and must use just donuts.com.
so, are there any conditional domain mapping options? how does this work? one problem i see is that when a person, let's say user2, who writes only about cream donuts, creates a user2.donuts.com domain, and is not entitled to a user2.jellydonuts.com domain, then the "user2" subdomain remains available at jellydonuts.com. a few days later, a person who actually does blog about jelly donuts, whose name is also user2, comes to register. but he cannot register user2.jellydonuts.com, because to do so would also require him to have user2.donuts.com, which is already taken by the first user2, our cream donuts blogger. so, even though the subdomain is available in jellydonuts.com, it is not also available in donuts.com and therefore cannot be used to register a subdomain to my site.
is that true?
when he goes to map the multi-domains, how does this work?
Is the domain mapping plugin set up to handle mapping to multi-domains?
does the multi-domain plugin have any conditional capabilities? [if user selection on register is jelly donuts, then give or assign to both domains; if not, then only allow user a single domain].
the hardest case to understand, for me at least: what happens when user1 has used multi-domain to have a site at both domains (i.e., he does write about jelly donuts), and then uses domain mapping. can he map his own domain to both of my domains? so then there would be 3 possibilities for arriving at his site: user1.com, user1.jellydonuts.com, and user1.donuts.com? am i understanding this correctly?
any help, ideas, and answers would be most appreciated. sorry if the question is disorganized or rambling. trying my best to present the problem.