This is what we ended up having in our wp-config.php: /** Multisite */ Let’s go back to the wp-config.php, and add the prompted lines shown in step 1: define('MULTISITE', true) ĭefine('DOMAIN_CURRENT_SITE', '') 4 Enable the WordPress NetworkĪfter clicking the “Install” button, WordPress will generate configuration lines in wp-config.php and. Optionally you can name the network websites. For the tutorial purpose, we will check the Subdirectories option. Now, in the Network Setup section, you have the choice to install Multisite to work with Subdomains or Subdirectories. Now you will find a new menu item, the “ Network Setup” (under the Tools menu): Go back to your WordPress and reload the admin page. Once saved, Go back to your WordPress to enable the Network. */Īnd above the line shown above, add the following lines shown below: /** Multisite */ Once opened with your text editor, locate the bit that says: /* That's all, stop editing! Happy blogging. This capture of an SFTP client shows the wp-config.php file inside the html dir: This SFTP client shows where you can find the wp-config.php file If you are running a wetopi server, you’ll find the SFTP credentials in the Options menu → Advanced section of your Wetopi WordPress server:Ĭredentials in your wetopi server “Options Menu” Edit wp-config.php Log into your server using an ftp client and open the wp-config.php with your favorite text editor.Īt wetopi, we use secure SFTP, which is the same as ftp but the connection is secure and information travels encrypted. To do this, you need to modify the WordPress configuration: wp-config.php Once you have a standard WordPress site up and running, we are ready to enable the WordPress Multisite with subdirectories mode. Sign up to get your FREE development server now! If your hosting does not provide a Staging server, Both options take a few seconds to launch with Wetopi Specialized Managed Hosting (watch this 20sec video that shows how to Stop breaking your live WordPress). Work in a Staging clone, or launch a clean WordPress site. ![]() WARNING: Do not experiment with your production site! Hands-on Guide! 1 Start from a standard WordPress site Still haven’t made the decision to utilize sub-domains, subdirectories or even multisite? Take a look at this compendium of Conditionals and a list of Good and Bad Parts, to definitively help you to decide. Setting-up WordPress Multisite with subdirectories in just five steps Setting-up WordPress Multisite with subdirectories in just five steps.This post will walk you through setting up a WordPress Multisite with subdirectories so you can manage multiple sites under different paths.
0 Comments
Leave a Reply. |