How to create a multisite network and use Astra child theme on it.
|
/ Documentation /Installation and Updates/ How to create a multisite network and use Astra child theme on it.

How to create a multisite network and use Astra child theme on it.

What is a Multisite?

With the help of the multisite feature, you may control a network of websites from a single location. A network of several websites can be created and managed using this style of WordPress installation from a single WordPress dashboard. This makes it simple for you to update all of your websites and make changes from a single location. The number of websites can range from 2 to a few millions. For example, WordPress uses this feature to maintain 37 million websites at the same place.

What is a child theme?

A child theme is the exact replica of the parent theme that en-queues all functionalities and styles from the parent theme. The main use of the child theme is to allow customization in the theme files. 

Any changes you make on the theme files directly will be erased when you update the theme. Editing the theme files using the child theme ensures that the custom codes that you use to edit the theme files will remain on your website even after you update the site’s theme.

Here is an article that can guide you through more details about the Astra Child theme.

User roles

Network Administrator: When you create a multisite within your WordPress website, it makes you the network administrator of your site. It also allows your users to create their individual sites and be the admin for their respective sites.

Site admin: These users can create their own site inside of your multisite network; however, will not be able to install a new plugin while they can activate and use the plugins already installed by the network administrator.

The site admin has a lower level of access than the Network admin. The site admin can add new users and assign them roles as site admins; however,  their access will be restricted to the site that they have been added to. 

Domain Name

An important aspect of the multisite is that you can set up whether the sub-sites within your network can use sub-domains (example-site.mysite.com) or sub-directories (mysite.com/examplesite). You can also map other domains to your network in order to provide the options for the sites within your network to have individual domain names.

How to set up and activate multisite

While using the Astra theme, you can use the child theme to set up as many sites as you would like within your WordPress installation. Here are the detailed steps on how to set up a multisite network using a child theme. Please note that we recommend taking a solid backup of your website before enabling multisite features. Here is an article that will help you to backup your website.

Activating multisite feature

With every WordPress installation, the Multisite Network feature is pre-installed. All you have to do is set up and install WordPress as usual. You then only need to turn on the multisite feature.

Step 1: Downloading and installing file manager plugin

Any WordPress website that already exists can have the multisite capability enabled. To enable Multisite, connect to your site using an FTP client or cPanel file manager, and open the wp-config.php file for editing. In this example, we will use a plugin called file manager which you can download from here. Download the plugin and upload it to your WordPress site and install and activate it.

ast-file-manager-plugin
Step 2: Editing wp-config.php file

Once you activate the plugin, find the wp.config.php file and right click on it. This will open up a drop down menu. Select code editor from the menu.

ast-plugin-file-manager-code-editor

Once the code editor opens, copy the following code and paste it into the code editor at the bottom. Click on save and close to save the changes.

ast-plugin-file-manager-code-editor

Your WordPress site’s multisite functionality is simply enabled with this code. Once enabled, the multisite network still has to be set up.

Setting up multisite network

Step1: Disabling all plugins

On the next step, You must deactivate all of your website’s plugins if you’re setting up a multisite network on an existing WordPress website. Navigate to plugin>installed plugin and select all the plugins. Select deactivate on the bulk action option and click on apply.

ast-dsiable-all-plugin
Step 2: Installing the Network SetUp

Once all the plugins are disabled, navigate to Tools>Network Setup to configure the multisite network.

ast-tools-network-setup

On the network setup page, you will need to enter the name for the network and your email address. Please ensure that the email address that you have provided is correct. After that, click on the install button at the bottom.

ast-network-set-up-install

Once you click on the install button, on the next screen, WordPress will display a few codes which you will need to add to the wpconfig.php and htaccess.php files. You can edit the file similarly by navigating to the File Manager plugin, right clicking on the respective files, selecting code editor, pasting the codes and clicking on save and close button.

ast-tools-network-setup-codes

Note: while editing the wpconfig.php file, please ensure that you paste the code above the text that says “/* That’s all, stop editing! Happy publishing. */”.

Step 3: Network Dashboard

Once you have set up the network settings, you will need to navigate to the Network Dashboard in order to make changes to the multisite. Click on the my sites on the top bar of your WordPress dashboard, select Network admin and click on Dashboard.

ast-network-admin

Once you have clicked on the dashboard, you will see the network dashboard and you will see “Right Now” dashboard. You can either create a new site and new user or you can search for the existing sites or users. 

Step 4: Configuring Network Settings

Once you are able to access the network administrator dashboard, click on Settings and choose Network Settings. This will open up the Network Settings options that you will need to configure.

The most crucial setting in your network configuration is typically found in the ‘Registration Settings’ section of the network settings page. On the network, user and site registrations are disabled by default. You have the option of allowing both site and user registration on your website, as well as allowing current users to build new sites.

This will allow you to add new sites to your multisite network.

Creating a new site

On the network dashboard, click on the create a new site option to create a new site.

ast-network-create-new

You will need to enter the following information in order to create a new site.

  • Site Address (URL): This will be the name of your website followed by the main domain. For example, storyteller.wpastra.com. Here storyteller is the name of the website and wpastra.com is the main domain address.
  • Site Title: This is the title of the site which will be displayed on top of the dashboard.
  • Site Language: By default the site title will be selected as the  English(United States). You can choose from the dropdown if you would like to change the language.
  • Admin Email: By default this will display the email address that you had entered earlier when creating the network. If you wish, you can also change it as per your requirement.
ast-network-creating-new-site

Once you add the site, it will be available on the site dashboard. To access all the sites, navigate to the sites>all sites from the network dashboard.

all-sites

Adding themes to the Multisite

To add themes navigate to My Sites>Network Admin>Themes. This page will display all the available themes on this multisite network. By selecting the “Network Enable” option next to a theme, you can make that theme accessible to other websites. A theme can also be turned off by using the “Network Disable” link located beneath the theme. It should be noted that the Network Disable option only appears while the theme is active.

ast-network-adding-themes

To add a new theme, you can simply click on the Add New button on the top, select a theme and install it in the multisite network.

Using Astra Child Theme

Once you have completed the set up, you can generate a child theme from here. You can personalize your child themes according to your needs and then add them to the multisite network simply by uploading them. Once the child theme is installed, please Network Enable them to use them across the network.

Please take note that each child theme needs to have a unique name. When you upload the new theme to the multisite network, it will overwrite the existing one if you use the same name rather than generating a new child theme.

Installing plugins to the multisite

Similar to adding themes to the multisite, you can install plugins by navigating to the My Sites> Network Admin> Plugins. This will navigate you to the plugins page. You can activate the plugins on your multisite network by clicking the ‘Network Activate’ option found beneath each plugin. To add a new plugin click on the Add New button at the top, select the plugin and install it.

adding-plugins
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form