Allowing users to register their sites on your network is as simple as checking a box. But did you know there’s a way to improve user and site registration even further? In this article we show you how to make this process smoother and more accessible for potential users.
Enabling users to register on your network and create their own site is pretty straightforward. All you need to do is enable it in your network settings.
What you might not know is you can improve on the process and the user experience…
Welcome to the third post in our six-part WordPress Multisite masterclass series. In this series we’re teaching you everything you need to know to create your own network, add sites to it (or let users add their own), and manage the network.
We’re also showing you how to ensure your network is secure and high performing, and how to create a successful community of users and sites.
In this particular article we’re looking at how to set up site registration and how users can create their own site on your network.
We’ll also explore how you can make the screens and the process smoother, and customize the signup messages.
Before you start on this part of the series, however, I recommend the previous tutorial in this series, WordPress Multisite Masterclass: Activation and Configuration, which provides a solid ground in the Multisite installation process, how to create sites on your network, add users, install themes and plugins, and configure your network settings.
When you’re ready, let’s start with the basics – enabling site registration.
Missed a tutorial in our WordPress Multisite Masterclass series? You can catch up on all six posts here:
That’s right, tons of WordPress knowledge, peer review, instructor feedback and certification, for free for WPMU DEV members
Enabling Site Registration
Site registration is a feature of Multisite that’s already part of WordPress, so all you need to do to allow it is to make sure it’s enabled. You can do this in the network settings screens.
Go to Network Admin > Settings in the admin screens, to see the Network Settings screen:
The second section on this screen is Registration Settings. By default, user and site registration are switched off – you need to change this. Select the option that works best for your site.
Here are what the options do:
- Registration is disabled: Only network admins or site admins can create new users. Only network admins can create new sites (i.e. site registration by users is switched off).
- User accounts may be registered: People can create a user account on your network but they can’t create a new site (similar to user registration on a standalone site).
- Logged in users may register new sites: Only people with accounts who are logged in can create a site. Use this if you don’t want people to create their own user accounts and sites, but just want to restrict site creation to users you set up. This is useful for a closed system such as a network of sites for a community group or business.
- Both sites and user accounts can be registered: People can create a site and a user account at the same time (or can create a site using their existing user account).
In this part of the course, we’re going to let people create their own user accounts and sites, so select the fourth option, Both sites and user accounts can be registered.
Once you’ve done that, take a look at the next settings:
- Registration notification: keep this checked if you want to be notified every time someone sets up a new site or user account. For a new network, it’s a good idea to do this as it helps you spot spammers or sploggers (people creating spammy blogs). As your network grows you may find it a nuisance to be getting emails all the time, in which case you’ll need to use an anti-splog plugin. We’ll look at those in more detail in the sixth tutorial in this course, which is all about managing your network.
- Add new users: If your network is a public one, or you want to give your site admins freedom to add their own users, you should check this. But if you want more control over the creation of user accounts, leave it unchecked. I like to let my site admins create new users for their sites, so I recommend you to check this.
- Banned names: WordPress adds some banned blog names for you by default but you can add your own. These will equate to the slug for each new site. If you want to add more, type them in here with a space between each. You may want to include your own brand name and any slugs for pages you’ve already created on your site.
- Limited email registrations: If your network is for an organization where everyone has the same domain for their email, you can use this to stop anyone without a relevant email address setting up a site. Type in the domain name without the @. So if your domain name is microsoft.com (for example), typing microsoft.com here will limit site registrations just to people whose email address takes the form [email protected].
- Banned email domains: Use this to list those email domains you don’t want to receive registrations from. This means that if you added microsoft.com here, no-one with an email address in the form [email protected] would be allowed to create a site or user account. This can be useful if you spot lots of spammy signups coming from one domain name.
Once you’ve amended the settings to enable site registration and added any limited or banned names or email domains, scroll down and click the Save Changes button.
The rest of this screen relates to customizing the signup process, which I’ll come to after we’ve looked at how users create a site.
Registering a Site and User Account
Once you’ve enabled site registration, users can do this by visiting the wp-signup.php page on your site.
So if your site is at http://mynetwork.com, they’d visit http://mynetwork.com/wp-signup.php.
Now, I don’t know about you, but I don’t expect users to know that without being told! So the next thing you need to do is add some form of navigation to the signup page.
You can do this in one or more of a few ways:
- Add it to your main navigation menu
- Add a nice big call to action button taking users to it
- Add a link to your footer or sidebar
- Add plenty of links in the text on your home page (and other relevant pages)
- Use a widget for signup (which we’ll come to in a bit).
Depending on your needs and those of your users, it’s a good idea to use more than one of these techniques. But for the sake of simplicity, let’s start by adding a navigation link.
Linking to the Signup Page in Your Navigation Menu
You do this via the Menus admin screen or the Customizer in the main site on your network. Let’s use the Customizer.
Select your main site from the My Sites menu then go to Appearance > Customize to open the Customizer:
Select the Menus tab on the left. Select your main menu or if your site doesn’t already have a menu, create one by clicking the Add a menu button.
Make sure your menu is in the Primary location in your theme (or whichever terminology your theme uses for the main menu):
Once you’ve done that you’ll be able to add items by clicking the Add items button. Do this and then select Custom Links. In the URL field, type http://mynetwork.com/wp-signup.php, where mynetwork.com is the domain name of your site. In the Link Text field, type the text, which will appear in your menu. You can see I’ve done this below:
Click the Add to Menu button and then click the Save & Publish button on the top left. This will save the menu with the link to the signup page added:
Registering a Site
Now that you’ve given your users a link to register their site, all they need to do is click on that link to see the signup page:
As you’re the network admin, you’ll see a message at the top, which other users won’t see. You’ll also see a notification of other sites you’re a member of, and some information on the process.
Let’s log out and create a new site and user account for a completely new user. Log out of your network and refresh the screen (or use that link again to open it):
That’s more like it! As you can see, there are two fields users need to fill out to get started:
- their username (which they get to make up themselves, yay!)
- their email address.
Both of these must be unique, so if someone with that username or email address is already registered on your network they will need to log in and create a new site for themselves.
Note: Once they’ve filled these out, they can choose to register a site or a user account. If they register a site they’ll also have a new user account – they don’t have to do the two separately.
If a user sticks with the default “Gimme a site!” and clicks the Next button, they’ll be taken to the next screen, which asks for information on their new site:
Here, they need to provide a slug for their site, which will be auto-populated with their username, and provide a site title. They also need to specify whether or not they want the site to be indexed by search engines.
I’m going to change the slug and add a site title, and disable indexing as this is a new site, which I’m not ready for people to see yet. Don’t forget that site admins can change this in their site settings when they’re ready, by going to Settings > Reading.
Finally, click Signup to create the site.
Note: If it looks like nothing’s happening at first, be patient. If you click that Signup button twice you’ll get an error message.
The user will be told that their site is almost ready:
But for security reasons, users need to click a link they’ll be emailed before the site is up and running. Check the inbox for the email address you’ve used for your new account. You’ll get an email that looks something like this:
Click on that link to be taken to a screen with your login details:
You can now view your site or log in as a site admin using the links provided. WordPress will also send the user an email with details of their new site:
And here’s the user’s brand new site:
Customizing Site Registration
Now you’ve seen how the site registration process works by default. But if you want to you can customize things. Here are the options:
- Customize the welcome email message (the second one) via the network settings screen
- Customize the welcome email for new users who haven’t registered a site via the network settings screen
- Customize the default content for new sites (first post, page and comment) via the network settings screen
- Customize the signup form using a plugin
Let’s start by customizing the welcome email messages, for new sites and new users.
Customizing Welcome Email Messages
Go to Network Admin > Settings and scroll down to the New Site Settings section:
Start by editing the email sent to people who’ve successfully activated a new site. In the Welcome Email field, edit what’s already there. Note that there are a few short codes in capitals that it’s a good idea to keep:
- USERNAME: The new site owner’s username
- SITE_NAME: The title of the network (not the new site)
- BLOG_URL: The url of the new site (with a trailing slash)
- PASSWORD: The new user’s password
- LOGINLINK: A link for the user to log in to the network or the site they’ve been added to by a site admin.
Here’s my new text, which I think is more relevant to my site:
Next, let’s edit the email that goes to new users who haven’t registered a site. This contains some similar text but nothing about site administration. Do this in the Welcome User Email field:
Once you’ve edited these emails, click the Save Changes button at the bottom of your screen to save your edits.
Customizing Default Content
By default, WordPress populates each new site in your network with a single post, page, and comment, in the same way as it does for standalone installations. You can change the contents of these. Personally, I don’t think the content is all that helpful, so I like to do that.
To do this, go to Network Admin > Settings, scroll down to the New Site Settings section and skip to the fields after the two email fields we’ve just been working with.
You can use HTML in these fields to add bullet points, links, images and more – get creative!
I’ve edited the default posts in my network to provide more guidance on how posts, pages, and comments work:
Now when someone creates a new site on my network they’ll start with a post, page, and comment with the content I’ve added:
Customizing the Signup Page
If you’re not happy with the signup page, you can customize it with a plugin. Here are a few options:
- Use a signup plugin (like Customize Admin) to add a signup widget to a widget area in your site such as the sidebar or footer, or a widget area in the main content if your theme has one.
- Use a forms plugin like Forminator, which can help you create a signup/registration form that powers the signup process. You can also use the Paypal add-on to enable payment as part of the signup process.
- Use a membership plugin like WP Ultimo, that lets you sell sites with custom options.
WordPress Multisite Loves Users
Allowing site creation by your users in WordPress Multisite is as simple as enabling it in your network settings. But, as you now know, making the process user-friendly is a bit more complicated than that.
You want to encourage as many users as possible to sign up and create sites, and you can do that by giving them nice obvious links to the signup screen.
In the next tutorial in this series, we’ll look at another use for Multisite – hosting networks of personal or client sites.
You’ll learn how to harness the power of Multisite for hosting multiple sites for your own users, and make your workflow more efficient.
We’ll also look at how to use domain mapping so you can use one WordPress installation to host a multitude of sites each on its own domain.
Missed a tutorial in our Multisite masterclass series? You can catch up on all six posts here:
1.6 million WordPress Superheroes read and trust our blog. Join them and get daily posts delivered to your inbox – free!