Hey, can I create baby sites for a WordPress website? Yeah actually you can. You can create
baby sites of your WordPress site and manage the whole network all at once. It's super fast and
convenient. Welcome to our comprehensive guide to multi-sites. This video is brought to you by
10Web an automated WordPress platform powered by Google cloud specifically designed for agencies.
Sign up for our 14-day free trial right now and experience the true innovation. Just a quick side
note here. If you want to make the most out of WordPress and accelerate your agency growth then
make sure to hit that subscribe button below to get new content every single week. Now guys back
to the topic of WordPress multi-site. What is it? It's a network of subsites and microsites that are
similar to each other and share the same plugins, custom apps and server configuration. And remember
that there is only one WordPress installation for the whole network. Now question number two
is whether WordPress multisite is for you or not? It is if, for example, you need to create similar
websites for different branches of your shop or agency or say you're running a university site and
you need some sites for each and every department. You get the drift. Now if you think WordPress
multisite is for you let me show you how to set it up. Open wpconfig.php in WordPress root directory,
find this comment line, add the following constant above that line and save wpconfig.php.
Next log into your WordPress admin dashboard and go to tools and then network setup. Here you have
to select if you want the sites in your network to use subdomains or subdirectories. Once you
choose an option you can't change it later. If you choose subdomains your URLs will look like this
and if you go with subdirectories you will have something like this.
Both are equally acceptable except that subdomains need extra DNS configurations which your hosting
has to provide you and you need to purchase wildcard SSL. With subdirectories they're
easier so you don't need any extra server side setups. Next you fill in the network title and
admin email fields and click install and you're on the enabling network screen. If you want a
directory network choose subdirectories option and copy paste this code into your wpconfig.php file.
If your network is running with an Apache web server, find your htaccess file.
If you don't have it just create a new one and add the following rewrite rules. If your network is
running with an Nginx web server this is the Nginx configuration file for the subdirectory network,
and if you went with the subdomain network go to tools, choose network setup, choose subdomains and
click install. Then copy paste this code into your wpconfig.php file. Open wpconfig.php and add the
following constants above. To use a subdomain configuration you must either have a wildcard
entry in your DNS or create new domains. With 10Web you can easily create new domains via
domain DNS management. If your network is running with Apache add these rules to the htaccess file
and if your network is running with an Nginx web server this is the configuration file.
After these steps you have to log in again and, voila, you will see a multi-site WordPress dash
instead of a regular one and this means you just successfully set up WordPress multi-site.
Does this manual process seem exhausting? We hear you. With 10Web you can easily skip this
and set up WordPress multisite with a click of a button. Take a look here.
I just check the multi-site option, choose subdomain or subdirectory and
there you have it and then it's super easy to manage all
our multi-site friendly services and plugins from our intuitive multisite
dashboard.
And if you're wondering how to manage your sites on multisite this section is all about that.
If you want to add a new subsite just go to My sites, click add website and fill in the fields,
then click the Add site button when you're done. If you want to install
a plugin or theme choose your preferred site in your network and go to Plugins or Themes
section, clicking the Network Activate link you activate a plugin or theme for the entire network.
Next let's discuss User Management on multisite. There is one additional role the super admin
who has admin access to all the subsites of the network. If you want to let users register
in your network go to Network Settings, scroll to Registration Settings and enable the User Account
May Be Registered option. When a user registers on one subsite within the network they're registered
to the whole network. You are also able to add different users to the same website.
For this go to Network Admin, then to Sites, then pick a subsite for which you want to add a user,
then click the Edit and then Users Tab. You can select from existing users or create a new one.
Now let's talk about adding different domains for each subsite. First of all your domain name
has to be pointed to your hosting server. And for this you need to use DNS configurations and
only after this you can open your preferred subsite settings and edit site address.
Now I bet you're wondering what file system and database changes happen when you enable
WordPress multisite. As I already said WordPress multisite uses just one WordPress installation
which means that all the plugins and theme files are the same for all the network subsites. Same
goes with the database. You have a single database with multi-site related new tables
and new tables with numbered prefixes for each subsite. So what changes occur in the database
after multisite activation? There are six new tables and some changes in the existing ones.
And these new tables are site, blogsmeta, blogs, , registration log signups and sitemeta. The data of
the main site is stored in the existing unnumbered tables while the data of the additional sites is
stored in the numbered new tables. And there you have it guys, WordPress multi-site setup
and management shouldn't be a problem now. Don't forget to like and subscribe for more videos about
advanced WordPress functions. Take care and I'll see you in another video. This video is brought
to you by 10Web an automated WordPress platform powered by Google cloud specifically designed
for agencies. Sign up for our 14-day free trial right now and experience the true innovation.