Passer au contenu principal

Comment installer et configurer un réseau multisite WordPress (en 6 étapes)

If you’re a WordPress consumer, you’re possible accustomed to the ability and adaptability this content material administration system (CMS) provides. However, when you will have multiple WordPress sites, managing them individually isn’t essentially probably the most environment friendly or efficient method.

In many circumstances, it makes extra sense to create a WordPress Multisite community, particularly if there are overlapping similarities between them. Multisite lets you run numerous websites from one WordPress set up.

In this tutorial, we’ll introduce you to WordPress Multisite and focus on the advantages of it. Then, we’ll stroll you thru the right way to set up and arrange a WordPress Multisite community in six easy steps. Let’s bounce in!

What Is a WordPress Multisite Network

WordPress Multisite, previously generally known as WordPress Multi-User (WPMU), is a function that allows you to create a community to run a number of websites from one WordPress set up. WordPress first began providing this function again with WordPress 3.0. It has since change into a well-liked and most popular technique of managing and sustaining a number of associated websites.

With a multisite, your area is your community deal with. The websites that belong to your community can both be subdomains (e.g. site1.yourdomain.com) or subdirectories (e.g. yourdomain.com/site1). You can even leverage domain mapping to level websites to your community, although this could be a complicated course of.

Once you put in and arrange your multisite community, you possibly can rapidly and simply create new websites, in addition to permit different customers to take action. The hottest instance of a multisite community is WordPress.com:

The WordPress.com website.

It hosts a ton of web sites starting from small startup blogs to world enterprises. Users can rapidly create their very own web site as a part of the community.

There are many different use circumstances and examples of WordPress Multisite networks. Some of the most typical ones are for on-line magazines and newspapers, in addition to colleges and faculties.

The Benefits of Using a WordPress Multisite Network

The main benefit of utilizing WordPress Multisite is that it may well make managing a number of websites considerably simpler. More particularly, it may well assist streamline all kinds of upkeep and improvement duties and prevent time by eliminating the necessity to bounce between websites.

For instance, with WordPress Multisite, you possibly can:

  • Update all your websites on the community with a single click on, slightly than having to log in to every one individually.
  • Utiliser un Thème WordPress as a dad or mum theme, then customise it for particular person websites. This is especially useful in case your websites share frequent structure and design components.
  • Install a WordPress theme and plugins as soon as to make use of throughout the community.

Another advantage of utilizing WordPress Multisite is the management and adaptability it provides web site directors. Every web site inside the community can have its personal administrator(s) in addition to a complicated function and display screen for configuring community and admin settings.

Of course, WordPress Multisite isn’t with out its cons, which must be thought of when deciding whether or not it’s best for you. For instance, since all of the websites on the community share assets, if one goes down, it may well take all the opposite ones with it.

You’ll additionally have to be sure to have a hosting plan ample for managing server assets and dealing with sudden visitors. This may imply a rise in your web site prices in comparison with what you’re used to paying.

However, WordPress Multisite is an efficient and highly effective instrument while you need to improve your workflow effectivity and handle a number of websites from a single account. Plus, you possibly can set one up in only a few simple steps.

What You Need to Install and Set Up a WordPress Multisite Network

The means of establishing a WordPress Multisite community shall be faster when you have all the things able to go. As such, there are a handful of necessities for putting in a WordPress Multisite community. The preparation concerned will depend upon whether or not it is a recent WordPress set up or an present web site.

If you haven’t already, you possibly can download WordPress at no cost from WordPress.org:

The WordPress.org website.

You’ll additionally have to buy a hosting plan and area. There are a handful of high quality WordPress hosting providers so that you can select from that provide high-performance plans, resembling Kinsta, Moteur WP, et SiteGround.

When deciding, be sure you search for a plan that helps a number of domains. For a multisite community, I like to recommend a Virtual Private Server (VPS), devoted hosting, or gestion de l'hébergement WordPress.

If you’re making a multisite community on an present WordPress web site, it’s necessary to créer une sauvegarde of your database and recordsdata. When you arrange a multisite community, it robotically updates WordPress to the newest model. You don’t need to threat dropping any essential information.

Next, you’ll have to deactivate all your WordPress plugins. You can do that by navigating to Plugins> Plugins installés out of your WordPress dashboard (choose Voir tout, then click on on Désactiver from the drop-down menu, adopted by the S'INSCRIRE button):

The screen to deactivate plugins in WordPress.

It’s additionally necessary to substantiate that Pretty Permalinks are activated in your WordPress web site. You can do that beneath Paramètres> Permaliens out of your WordPress admin dashboard:

The permalinks settings menu item in WordPress.

Finally, you’ll want File Transfer Protocol (FTP) access. In case you’re unfamiliar, this allows you to edit and switch recordsdata between your laptop and community.

There are numerous FTP shoppers to select from. For instance, Filezilla is a well-liked and free choice. If your hosting supplier provides cPanel, it’s also possible to edit your recordsdata there.

Comment installer et configurer un réseau multisite WordPress (en 6 étapes)

Once you will have all of the technical necessities squared away, it’s time to get to work. Let’s take a look at how one can set up and arrange a WordPress Multisite community in six easy steps.

Step 1: Enable the WordPress Multisite Feature

By default, WordPress installations include the multisite function disabled. Therefore, your first process shall be to show it on by including a line of code to your web site’s wp-config.php fichier.

To do that, you will have a few choices. You can undergo cPanel (in case your hosting supplier provides it) or join by way of FTP. Once you find and open the wp-config.php file out of your web site’s root listing, browse to the place it says /* That's all, cease enhancing! Happy blogging. */.

Then place the next snippet straight above it:

outline( 'WP_ALLOW_MULTISITE', true );

When you’re completed, save your file (or add it in case you’re utilizing FTP). Now, the WordPress Multisite function is enabled.

Step 2: Install your WordPress Multisite Network

Once the multisite performance is enabled, the subsequent step is to put in your community in WordPress.

From your WordPress dashboard, navigate to Tools > Network Setup:

The 'Network Setup' option in WordPress.

This will deliver you to the Network Setup display screen. Here, you possibly can select between utilizing subdomains or subdirectories as your construction:

The Network Setup page in WordPress Multisite.

Note that you just can not change this setting later, so be sure you select fastidiously. If you need assistance deciding which is greatest to make use of to your particular circumstances, you possibly can try this text about subdomains vs subdirectories.

Next, navigate to the Network Details partie:

The 'Network Details' section of the WordPress Multisite settings page.

Input the title you need to your community within the Network Title area, in addition to the admin e-mail deal with. Once you’re completed, click on on the installer .

Step 3: Add Code Snippets to Your WordPress Files

When you click on on the installer button, you’ll be robotically redirected to a display screen containing two snippets of code. One is to repeat and paste in your wp-config.php file and the opposite is to your .htaccess fichier:

The code snippets for installing a WordPress Multisite network.

As with step one, you are able to do this by going by cPanel or by way of FTP. In your wp-config.php file, you possibly can paste it beneath the code you added in the 1st step to allow Multisite.

Dans votre Fichier htaccess., you possibly can copy and paste the suitable code to switch the default guidelines. When you’re completed, save each recordsdata to finish the setup.

Step 4: Configure Your Network Settings

Navigate again to your WordPress admin and click on on the Connexion hyperlink positioned on the backside of the Network Setup web page.

After you log in, you would possibly discover a number of adjustments to your dashboard. For instance, there’ll now be added menu objects, together with Mes Sites et la Réseau Admin:

The WordPress Multisite menu items.

From right here, it’s also possible to discover the Tableau de bord, which is the place you’ll go so as to add new websites and customers to your community. You can view all your websites in your community beneath the Chantiers tab and configure consumer administration and roles beneath the Utilisateurs languette.

First, it’s necessary to configure your community settings. To do that, click on on Paramètres out of your Network Admin dashboard, adopted by Paramètres réseau:

The 'Network Settings' menu item in the WordPress Multisite admin.

On this display screen, you’ll see that the community title and admin e-mail deal with are robotically populated. Below that’s the Paramètres d'enregistrement partie:

The WordPress Multisite network registration settings.

Both consumer and web site registrations are disabled by default. However, you possibly can open registrations in your multisite community to permit customers to register in your web site or create new websites.

You can even configure the settings to obtain registration e-mail notifications, restrict registrations, and allow particular person web site admins so as to add customers.

Next, navigate to the Nouveaux paramètres du site partie:

The new site settings in WordPress Multisite.

This is the place you possibly can select and customise the choices for brand spanking new websites created and added to your WordPress Multisite community. For instance, you possibly can personalize the welcome emails and alter the default put up, web page, and remark settings.

There are further settings you possibly can discover and experiment with, such because the add and plugin menu settings. You can all the time come again to alter these at any time. When you’re completed, click on on the Enregistrer les modifications button on the backside of the display screen.

Step 5: Add a New Site to Your Network

Congratulations! You now have a WordPress Multisite community virtually fully put in and arrange. However, there are nonetheless a number of issues left to do. The first is so as to add a brand new web site to make it an precise multisite.

To add a brand new web site, navigate to My Sites > Network Admin > Sites, then click on on Ajouter un nouveau:

The 'Add New Site' screen in WordPress Multisite.

Here, enter the location deal with URL you need to use, a web site title, the location language, and an admin e-mail. Note that this e-mail must be totally different than the one used for your complete community.

Lorsque vous avez terminé, cliquez sur le Ajouter un site button on the backside of the display screen. This web site will now be added to the Chantiers listing in your community dashboard. You can do that at any time and for as many web sites as you would like.

Step 6: Install Plugins and Themes on Your Multisite Network

With WordPress Multisite, by default, solely community admins can set up plugins and themes. However, the plugins and themes that you just do set up shall be accessible to particular person websites on the community.

Of course, the plugins you select will depend upon the kind of web site you will have and which options and performance you’re wanting so as to add. Once which plugins you need to set up, you are able to do so by going to My Sites > Network Admin > Plugins:

The WordPress Multisite admin plugins page.

To set up a brand new one, choose Ajouter un nouveau. When you need to activate a sure plugin in your community, merely click on on the Activer le réseau hyperlink beneath it:

The 'Network Activate' link for a WordPress plugin in a multisite network.

The course of is comparable for putting in themes, solely you’ll go to My Sites > Network Admin > Themes:

The WordPress Multisite themes page.

This display screen shows any themes at present put in in your multisite. To set up a brand new theme, click on on the Ajouter un nouveau button. Then, to make it accessible to different websites on the community, click on on the Network Enable hyperlink beneath the theme.

That’s it! You now have a completely functioning WordPress Multisite community.

Conclusion

When you will have numerous websites, managing them individually will be time-consuming and tedious.

A extra sensible and environment friendly method is to create a WordPress Multisite community. However, in case you’re unfamiliar with this instrument, getting began with it could appear complicated and difficult.

As we mentioned on this put up, you possibly can set up and arrange a WordPress Multisite community in six easy steps:

  1. Enable the WordPress Multisite function by enhancing your wp-config.php fichier.
  2. Install your WordPress Multisite community from the Network Setup part of your admin dashboard.
  3. Copy and paste the community set up code into your wp-config.php et la .htaccess recordsdata.
  4. Configure your community settings.
  5. Add a brand new web site to your WordPress Multisite community.
  6. installer thèmes WordPress and plugins in your community.

Do you will have any questions on utilizing WordPress Multisite? Let us know within the feedback part beneath!



Ce poste 0 Publier les commentaires

Laissez un commentaire

Votre adresse email n'apparaitra pas. Les champs obligatoires sont marqués *

Retour au sommet