Multisite setup on one of my domains

I want to setup Multisite on my domain, I want a step by step process that is easy, even if it is a plugin that will do it automatically.

  • Adam Czajczyk

    Hello andre,

    I hope you're well today and thank you for your question!

    Fortunately, setting up a multisite is actually fairly easy if you already have installed a "regular" (single) WordPress ever.

    First thing that you must decide on is whether you want to go for a "sub-folder" or "sub-domain" configuration. The difference is as follows:

    - on sub-folder configuration you'll have a main site at your domain "domain.com" and other sites (sub-sites/blogs) at URLs like this: "domain.com/firstsubsite", "domain.com/secondsubsite" etc.;

    - on sub-domain configuration the main site will also be at "domain.com" but sub-sites will be on sub-domains like this: "firstsubsite.doman.com", "secondsubsite.domani.com" etc.

    If you decide to go for sub-folder install instead of sub-domain, skip the step #1 below.

    1. setup wild-card for your domain; wild-card is a "special type" of sub-domain that acts as "catch all" sub-domain so as a result whatever sub-domain name you put in front of your domain, it will be handled automatically;

    How to do this? That depends on where are you hosting the site and the domain and what kind of management panel you're using. One of the most popular is cPanel and you'll find information on how to setup wild-card in cPanel here:

    https://www.youtube.com/watch?v=r4YEb7JgDkg

    https://www.namecheap.com/support/knowledgebase/article.aspx/9191/29/how-to-create-a-wildcard-subdomain-in-cpanel

    http://www.inmotionhosting.com/support/edu/cpanel/cpanel-manage-domains/create-wildcard-subdomain

    If you need assistance with setting that up, please turn to your host and they should able to help you configure wild-card for your domain.

    Please note: the wild-card must use the same "root folder" (otherwise known as "document root") as your domain.

    2. Install a standard WordPress; I assume you have done that already so the procedure is no different; you can even use some "installer" from your host if you prefer.

    3. Once the standard WordPress is setup you will want to edit the "wp-config.php" file; I suggest using "File Manager" and it's "Code Editor" tool of cPanel for this; you would want to add following line to the file, right above the "/* That's all, stop editing */" line:

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

    4. Once you save the file, you'll find a "Network Setup" item in "Tools" menu in your site's admin area; Enter the "Tools -> Network Setup" page, select whether you want to go for sub-domain or sub-folder setup if given a choice, provide a general title for your Multisite and an e-mail that's going to be used as a network admin e-mail; hit "Install"

    5. You'll then be given two sets of codes: one should be put into the .htaccess file and one to the "wp-config.php" file; follow given instructions and that'd be pretty much all, the Multisite should be up and running.

    There's no plugin that would set that up automatically for you, at least I'm not aware of it. However, you might find these articles helpful:

    https://codex.wordpress.org/Create_A_Network

    https://premium.wpmudev.org/blog/ultimate-guide-multisite/

    http://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/

    Kind regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.