Re: Group Blog for BP1.2 is now available
You are correct about the subdomain.
I run the root domain as the install of wpmu. Wpmu is installed in the root directory of the root domain.
I then create customer accounts off of the root domain, like customer1.root.com
This allows me to run a system kind of like wp.com does. I only have to manage one install of wp.
The customers don’t know they are actually on a subdomain.root.com because I use domain mapping.
(well my customers know, I don’t hide it, but the website visitors have no idea which is all they care about)
So I went into my shawngaffney.root.com blog as though I was a customer and tried to setup a group blog.
That is how I ended up with shawnsfriends.shawngaffney.root.com when I created the group blog from a subdomain site.
When I went into the root blog and then into a group and created a group blog, it worked. it became testblog.root.com as it should.
I’m only guessing, but I think the ‘create blog’ function is grabbing the url of the blog from the db?
It’s probably grabbing the subdoman.root.com url instead of the root.com url…..
Maybe it’s as easy as one change url change in the code?
I may have an idea of how to get this to work with domain mapping.
Obviously the groups blogs plugin needs to reference the root.com url for proper path creation –mentioned above.
But…. if you also save the url of the subdomain site that the user was on when the blog was created.. then I can solve domain mapping issue.
by having the ‘true’ domain address of the group that created a blog, then it’s just a matter of comparing that value to the domain mappings table?
just a few ideas