Cart

    Sorry, we could not find any results for your search querry.

    Multisite activeren voor een WordPress website

    A WordPress Multisite allows you to manage multiple sites with a single WordPress installation, either on subdomains or subfolders. You can manage these sites from your main site, or you can configure your multisite to allow users to sign up, letting them create their own blogs, for example. The benefit of this setup is that, as Super Admin, you can decide which themes and plugins are allowed. 

    However, a big drawback of multisites is that if the main site is down, all multisites will also be inaccessible.

     

    Activate Multisite on your WordPress website

    To activate Multisite, you first need a WordPress installation. This installation will serve as your main site, and you’ll use it as the Super Admin to manage your other sites and users.  
     

    Step 1:

    Open the File Manager via your control panel. Navigate to the /www/ folder and open the wp-config.php file by clicking ‘Edit’. Now, above the lines  /* That’s all, stop editing! Happy blogging. */ , add the following lines:

    /* Multisite */ define('WP_ALLOW_MULTISITE', true);

    Then click ‘Save’ at the bottom to save this change.


    Step 2:

    Go to your WordPress dashboard. In the left menu, click on ‘Tools’ -> ‘Network Setup’.


    Here, you choose between two structures: Subdomains or Subfolders. The example shows what this means; in a Subdomains structure, each site is accessible via a subdomain, such as site1.yourwebsite.com or site2.yourwebsite.com. In a Subfolder structure, each site is accessible via yourwebsite.com/site1, yourwebsite.com/site2, and so on.

    Consider this carefully, as you won’t be able to change it later.

    Note: If you choose subdomains, you’ll need to create each new site’s subdomain through your control panel and set the subdomain’s website path to match your main site, which is usually the /www/ folder.

     

    Step 3:

    After confirming your choice by clicking ‘Install’, you’ll see two code snippets displayed.

     

    You need to add these code snippets to your wp-config.php and .htaccess files to complete the Multisite activation. This can be done, as in Step 1, via the File Manager.

    • Paste the code for the wp-config.php file just above the line  /* That’s all, stop editing! Happy blogging. */ (as in Step 1).
    • Paste the code for the .htaccess file over the existing ‘RewriteRules’, which start with ‘RewriteEngine On’ and end with ‘RewriteRule . /index.php [L]’.

    After saving these changes, return to your WordPress dashboard, refresh the page, or log in again. If you see the following at the top of your dashboard, Multisites is activated, and you can start:

     


    Add a site to your Multisite

     

    Step 1:

    Go to your WordPress Dashboard and click in the menu on ‘Sites’ -> ‘Add New Site’.


    Step 2:

    First, enter the Site Address (URL) for your new site. In this example, we use a subdomains structure.

    Next, give your site a title and set the language.

    The email address entered here will receive login details for the new site’s Dashboard. As the Super Admin of the multisites, you can always reset your users’ passwords via My SitesNetwork AdminUsers.

    Click on ‘Add Site’ to create your new site.

    • If you are using a subfolders structure, you're now done!
    • If you are using a subdomains structure, proceed to Step 3.

    Step 3:

    To access the subdomain, add the newly created site as a subdomain via your control panel. Follow the steps in the article ‘Creating a subdomain on your web hosting package’.

    Ensure that when creating the subdomain, you enter the same site path as your main site, which by default is the /www/ folder. To adjust this, uncheck ‘Use generated path’.

     

    You can also modify this afterward by following the steps in the article ‘The DocumentRoot of your website’. 


    Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact us’ button at the bottom of this page.

    Need help?

    Receive personal support from our supporters

    Contact us