Enabling the Network Feature

You need to enable access to the network menu so you can set up the network and allow the creation of multiple sites. Follow these steps:

  1. Connect to your Web server via FTP.

    If you need a refresher on FTP, refer to Book II, Chapter 2.

  2. Locate the wp-config.php file in the root or /public_html directory of your Web site.

    This file is with the main WordPress files.

  3. Open the wp-config.php file for editing in your favorite text editor.

    For Windows users, Notepad will do. For Macs, use TextMate.

  4. Find the line that reads define(‘DB_COLLATE’, ‘’);.

    Click at the end of that line. Press Enter and a new, blank line is created.

    image Some FTP clients let you right-click the filename on the server and choose Edit to edit the file within your FTP program, depending on which program you are using.

  5. Type define(‘WP_ALLOW_MULTISITE’, true );.

    This line of code tells WordPress that you intend to use the multisite feature; additionally, it activates the Network option under the Tools menu in your WordPress Dashboard (covered later in this chapter).

  6. Save the wp-config.php file and upload it to your Web site.

When you log in to the Dashboard of WordPress, you see the Network submenu under Tools, as shown in Figure 2-1.

Figure 2-1: The Network menu.

image

Choosing this menu item will show the Create a Network admin page, covered in the next section. You will also see a reminder to deactivate all your plugins before continuing with network setup.

image Before you begin your edits, make a copy of your wp-config.php file and keep it in a safe place on your computer.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.114.221