O'Reilly logo

WordPress® All-in-One For Dummies® by Michael Torbert, Andrea Rennick, Kevin Palmer, Cory Miller, Lisa Sabin-Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required