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:
- A WordPress site hosted on eukhost.
- Access to the cPanel or FTP to modify files.
- A backup of your WordPress website.
Let us follow the steps:
Step 1: Enable WordPress Multisite in wp-config.php:
- Access your eukhost cPanel by logging in to your hosting account.
- In cPanel, navigate to “File Manager” and go to the directory where your WordPress files are stored (usually public_html).
- Edit the ‘wp-config.php’ File:
- Find the ‘wp-config.php’ file in the root folder of your WordPress installation.
- Right-click the file and select Edit.
- Add the following line of code above the line that says ‘/* That’s all, stop editing! Happy blogging. */’:
define( ‘WP_ALLOW_MULTISITE’, true );
- Save and close the file.
Step 2: Set Up the WordPress Multisite Network
- Log in to Your WordPress Dashboard.
- Navigate to Tools > Network Setup.
- Choose Your Multisite Structure:
- 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).
- Choose the option that best suits your requirements.
Note: Subdomains may require additional DNS setup in your eukhost account.
- You will be prompted to choose whether you want to create new sites as:
- Network Title and Admin Email:
- Enter a Network Title and the Network Admin Email.
- Click “Install” to proceed.
- Enter a Network Title and the Network Admin Email.
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.
- Update the ‘wp-config.php’ File:
- Open the wp-config.php file again in cPanel’s File Manager.
- 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 );
- Update the ‘.htaccess’ File:
- In “File Manager,” locate the ‘.htaccess’ file in the root directory of your WordPress installation.
- 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]
- Save and close both files.
Step 4: Complete the Multisite Setup
- After making these changes, log out of WordPress and then log back in.
- 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.
Step 5: Add New Sites to Your Multisite Network:
- In the Network Admin dashboard, click on Sites > Add New.
- Fill in the site address, title, and admin email, then click “Add Site” to create the new site within your Multisite network.
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.