How to activate WordPress multisite in your eukhost’s hosting account

October 14, 2024 / WordPress

This guide will walk you through the steps to activate WordPress Multisite on your eukhost hosting account.

It allows you to create and manage multiple websites from a single WordPress installation. If you are using eukhost’s WordPress hosting, activating Multisite can help you efficiently manage various websites under one dashboard, whether they are subdomains or subdirectories.

Before enabling Multisite, ensure that you have:

  1. A WordPress site hosted on eukhost.
  2. Access to the cPanel or FTP to modify files.
  3. A backup of your WordPress website.

Let us follow the steps:

Step 1: Enable WordPress Multisite in wp-config.php:

  1. Access your eukhost cPanel by logging in to your hosting account.
  2. In cPanel, navigate to “File Manager” and go to the directory where your WordPress files are stored (usually public_html).
    files>file manager
  3. Edit the ‘wp-config.php’ File:
    1. Find the ‘wp-config.php’ file in the root folder of your WordPress installation.
    2. Right-click the file and select Edit.
    3. Add the following line of code above the line that says ‘/* That’s all, stop editing! Happy blogging. */’:
      define( ‘WP_ALLOW_MULTISITE’, true );
    4. Save and close the file.

Step 2: Set Up the WordPress Multisite Network

  1. Log in to Your WordPress Dashboard.
  2. Navigate to Tools > Network Setup.
    Network setup
  3. Choose Your Multisite Structure:
    1. You will be prompted to choose whether you want to create new sites as:
      • Subdomains (e.g., site1.yourdomain.com), or
      • Subdirectories (e.g., yourdomain.com/site1).
    2. Choose the option that best suits your requirements.
      Note: Subdomains may require additional DNS setup in your eukhost account.
      sub-domains> sub-directories
  4. Network Title and Admin Email:
    1. Enter a Network Title and the Network Admin Email.
      network title
    2. Click “Install” to proceed.
      install

Step 3: Update ‘wp-config.php’ and ‘.htaccess’ Files:
After installation, WordPress will provide two code snippets:
1. One for wp-config.php.
2. Another is for the .htaccess file.

  1. Update the ‘wp-config.php’ File:
    1. Open the wp-config.php file again in cPanel’s File Manager.
    2. Add the provided code below the previous line you added for enabling Multisite. Example:
      define( 'MULTISITE', true );
      
      define( 'SUBDOMAIN_INSTALL', false ); // or true if using subdomains
      
      define( 'DOMAIN_CURRENT_SITE', 'yourdomain.com' );
      
      define( 'PATH_CURRENT_SITE', '/' );
      
      define( 'SITE_ID_CURRENT_SITE', 1 );
      
      define( 'BLOG_ID_CURRENT_SITE', 1 );
  2. Update the ‘.htaccess’ File:
    1. In “File Manager,” locate the ‘.htaccess’ file in the root directory of your WordPress installation.
    2. Replace any existing WordPress rules with the code provided by WordPress, such as:
      RewriteEngine On
      
      RewriteBase /
      
      RewriteRule ^index\.php$ - [L]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      
      RewriteCond %{REQUEST_FILENAME} !-d
      
      RewriteRule . /index.php [L]
  1. Save and close both files.

Step 4: Complete the Multisite Setup

  1. After making these changes, log out of WordPress and then log back in.
  2. You will now see a new “My Sites” option in the WordPress admin toolbar. Hover over it and select “Network Admin” to manage your network of sites.
    network admin>sites

Step 5: Add New Sites to Your Multisite Network:

  1. In the Network Admin dashboard, click on Sites > Add New.
    add new
  2. Fill in the site address, title, and admin email, then click “Add Site” to create the new site within your Multisite network.
    add new site

With WordPress Multisite enabled on your eukhost hosting account, you can now manage multiple websites from a single dashboard. This is particularly useful for businesses, organisations, or individuals who need various sites but want a streamlined management process. Follow these steps carefully to activate and configure your WordPress Multisite.

For further assistance, contact eukhost support or refer to our comprehensive WordPress Hosting knowledge base section.

Spread the love