The question is how do I allow my main site users to create a subsite after they’ve registered an created their accounts?
WP Admin -> Network -> Settings
Registration settings.
Logged in users may register new sites.
Done 🙂
Thread Starter
Vibral
(@vibral)
Thanks for the reply
I currently have “Both sites and user accounts can be registered.” selected.
I choose this because at least then there is a “Register” link next to my login button on my form, and while registering there are fields in the form to create a site (which I don’t think is a great way to do it, but at least it’s there).
When I do use “Logged in users may register new sites.” I don’t get the “Register” link next to my button. When I do choose this option, I still don’t see the link to create a new site for a logged in user – I would expect it to be in the wp-admin bar under “My Sites”, but it unfortunately is not.
There is also a link there to enter the dashboard for the main site which, when you click on it, gives you an error page – this is what I want it to do, since I don’t want a user to enter my main site dashboard. But I don’t know why they get the option to try anyway.
This is the same issue I had many moons ago when first starting out in WordPress, specifically with Multisite. I was so frustrated with the fact that the option “Allow logged in users to create sites” didn’t actually allow new users to sign up.
Logically, you would think that option in WordPress would allow people to sign up as users but not for sites until they were actually logged in users. But thats not the case. I am perplexed as to why WordPress doesn’t have another option that allows for this type of scenario.
But, good to know that the Moderate new blogs plugin exists at least. Happy New Year!
Did you turn on user registration before you started adding plugins ? I know buddypress for me would not work unless I unlocked user registration first. And some people say it just doesn’t work, but it’s some work to it.
But I can only imagine other plugins may do the same
Thread Starter
Vibral
(@vibral)
Apologies for the late reply; happy new year all!
Thanks for the reply @ipstenu – so it seems I’m not crazy – WP options are:
1. Only allow users to register and login but not create subsites
2. Allow users to login, but do not allow new users to register. Previously registered users may create sites, but no new users may register.
3. Allow users to register and create sites, but always ask in the registration page for users to register a site. If they don’t register a site at that specific point, they won’t ever be allowed to set up a new site.
I think it’s amazing given that wordpress is in such widespread use, that these are the native options. Surely there’s at least a plugin out there to give us the most natural options, which I think would be as follows: (and when will WP grant this behaviour natively?)
1. In the network settings dashboard, we have an option to let users login or register and this is independent of sub-sites options
2. On the registration form, the user is not offered the option to simultaneously register a new website
3. (Minor irritation) – on the registration page, the profile details/name field will not appear as a solitary field on the right hanging out in noman’s land – it will line up below the other fields (sorry – just thought I’d add this in)
4. Once a user logs in, s/he gets the option in the wp-admin bar to create a new site. This option is also short-code available (and only shows if user is logged in). [And this option can be prevented from the network settings in the dashboard of the main site]
5. (Another minor irritation) – when the non-admin user logs in, he should not be given the option in his WP admin bar to visit the main site’s dashboard
I feel I should apologise for requesting these modifications to the brilliant tool that WP is, a tool that I am aferall receiving free access to! I am not ungrateful, but really, having this update would do so much for me getting to where I need to go on my site.
If anyone has a way to code up these mods to the WP core, I would really like to hear about it.
@ipstenu: I can see that you must have the ear of the WP developers – may we prevail on you to forward these requests?
Best
VP
Sounds like you need a CPanel install that includes Softaculous installs with it to install WP for your users. It’s not a subsite creation within your site, but it seems like you’re asking to have your work cut out for you lol
If you are going to allow users to setup sites, maybe set them up yourselF (basic details) and maybe charge for the service?
You have to be careful with people running their own sites on your multisite database. Anyone could mess up your database and all your sites crash
Thread Starter
Vibral
(@vibral)
No man.. wp makes this easy – check out multisites – e.g. on my site http://viral.co.za if you register including a site during the registration, you can add as many sites as you like afterward without my having to do anything – the subdomain, everything, is sorted – read up on multisite with subdomains; you can get it running in 5min
These subsites are virtual – they give the appearance of being subdomains without actually being subdomains – you can’t actually ftp to them etc. It’s quite neat
that website brings me to a domain for sale…
I understand multisite and have a site setup myself, but there are still errors in it, mainly the user-system/profile info going to all sites. I like the idea of logging into all sites under the restrictions but simply the profile info spreading is too much for me to do with errors…users cannot upload avatars to all sites, profile description same for all sites.
I’ve used it a little myself but what I’m saying is you want a user to sign up and have a site generated in their name automatically as their wished folder/subdomain….just seems very hard to do…you will have to find something that automates wordpress installs in a script, and do so upon activation…maybe check how the “add site” works and find out how to build a function to add in a text field and add a sitename, with main user email as their email?
@ipstenu: I can see that you must have the ear of the WP developers – may we prevail on you to forward these requests?
See https://make.ww.wp.xz.cn/core/2013/10/06/potential-roadmap-for-multisite/
We know. It’s just a LOT of work and not a lot of developers and a lot of different POVs.
Much of all that CAN be done with plugins and custom code, which is okay. That’s why WP’s great.
you want a user to sign up and have a site generated in their name automatically as their wished folder/subdomain….just seems very hard to do.
By default, that’s what WP does.
Multisite DEFAULTS to matching your username to your sitename, so if I register as ipstenu, it will prompt me to make ipstenu.example.com (or example.com/ipstenu) unless someone else has that sitename already.
In that case it could be easily done (for someone in the know) just rip the code from the add sites page and put code in for registration around it as well?
That’s gonna be hard to moderate lol, so you might want to include an admin approved option somehow?
Sounds like some awesome custom work, but I just see it as too open ended on WP?
Thanks for that link too!
That plugin (which I wrote) does not create sites. It just adds existing users (or new ones) to specific sites when visited.
The original question is this:
The question is how do I allow my main site users to create a subsite after they’ve registered an created their accounts?
Join My Multisite doesn’t do that.
I have a same problem also i want user to choose sub domain then after sign up redirected to sub-domain.domain.com
It looks like you just need to set up multisite and create a DNS A record with a little “star” then your domain name.
example: *.yourdomain.com
source – https://ww.wp.xz.cn/support/topic/let-users-create-subdomains