Chapter 3
IN THIS CHAPTER
Getting familiar with the Network Admin Dashboard
Managing your network
Preventing spam blogs
After you enable the WordPress network option and become a network admin, you can examine the various settings that are available to you and go over the responsibilities you have while running a network.
As a network admin, you can access the Network Admin Dashboard, which includes several submenus, to manage the sites in your network, as well as the overall settings for your network. This chapter discusses the menu items and options on the Network Admin screen, guides you in setting network options, and discusses the best ways to prevent spam and spam blogs (splogs).
When you visit the Dashboard after activating the Multisite feature, the toolbar includes the My Sites menu, which contains the Network Admin link. (See Figure 3-1.)
FIGURE 3-1: The Network Admin menu.
WordPress has separated the Network Admin menu features from the regular (Site Admin) Dashboard menu features to make it easier for you to know which part of your site you’re managing. If you’re performing actions that maintain your main website — publishing posts or pages, creating or editing categories, and so on — you work in the regular Dashboard (Site Admin). If you’re managing any of the network sites, plugins, and themes for the network sites or registered users, you work in the Network Admin section of the Dashboard.
The Network Admin Dashboard (see Figure 3-2) is similar to the regular WordPress Dashboard; however, the modules pertain to the network of sites. Options include creating a site, creating a user, and searching existing sites and users. Obviously, you won’t perform this search if you don’t have any users or sites yet. This function is extremely useful when you have a community of users and sites within your network, however.
FIGURE 3-2: The Network Admin Dashboard.
The Search Users feature allows you to search usernames and user email addresses. If you search for the user Lisa, for example, your results include any user whose username or email address contains Lisa, so you can receive multiple results when using just one search word or phrase. The Search Sites feature returns any blog content within your community that contains your search term, too.
The Network Admin Dashboard has two useful links near the top of the screen:
Additionally, the Network Admin Dashboard gives you a real-time count of how many sites and users you have in your network, which is nice-to-know information for any network admin.
As mentioned, the Network Admin Dashboard has its own set of menus separate from the regular Site Admin Dashboard. Those menus are located on the left side of the Network Admin Dashboard. This section goes through the menu items and provides explanations and instructions for working with the settings and configurations to manage your network, sites, and users.
The menus available on the Network Admin Dashboard offer these options:
All the items on the Network Admin Dashboard are important, and you’ll use them frequently throughout the life of your network. Normally, I’d take you through each of the menu items in order so it would be easy for you to follow along on your Dashboard, but it’s important to perform some preliminary configurations of your network before you do anything else. Therefore, the following sections start with the Settings menu and then go through the other menu items in order of their appearance on the Network Admin Dashboard.
Click the Settings menu link on the Network Admin Dashboard. The Network Settings screen appears (see Figure 3-3), displaying several sections of options for you to configure to set up your network the way you want.
FIGURE 3-3: The Network Settings screen.
The two options in the Operational Settings section, shown in Figure 3-3, are
The Registration Settings section (see Figure 3-4) allows you to control aspects of allowing users to sign up to your network. The most important option is whether to allow open registration.
FIGURE 3-4: The Registration Settings section of the Network Settings screen.
To set one of the following options, select its radio button:
These options apply only to outside users. As a network admin, you can create new sites and users any time you want by setting the necessary options on the Network Admin Dashboard. (For information about creating users, see the upcoming “Users” section.)
The remaining options in the Registration Settings section are as follows:
The New Site Settings section (see Figure 3-5) is a configurable list of items that WordPress populates with default values when a new site is created. These values include the ones that appear in welcome emails, on a user’s first post page, and on a new site’s first page.
FIGURE 3-5: The New Site Settings section of the Network Settings screen.
The configurable list of items includes
Welcome Email: This setting is the text of the email that owners of newly registered sites in your network receive when their registration is complete. WordPress provides a default message that you can leave in place, if you like. Or you can type the text of the email you want new site owners to receive when they register a new site within your network.
A few variables you can use in this email aren’t explained entirely on the Network Settings screen, including the following:
SITE_NAME
: Inserts the name of your WordPress siteBLOG_URL
: Inserts the URL of the new member's blogUSERNAME
: Inserts the new member’s usernamePASSWORD
: Inserts the new member's passwordBLOG_URLwp-login.php
: Inserts the hyperlinked login URL for the new member’s blogSITE_URL
: Inserts the hyperlinked URL for your WordPress siteFirst Post: This setting is for the first, default post that displays on every newly created site in your network. WordPress provides some default text that you can leave in place, or you can type your desired text in the text box. This text will that appear in the first post on every site that's created in your community.
You can use this area to provide useful information about your site and services. This post also serves as a nice guide for new users because they can view it on the Dashboard’s Edit Post page to see how it was entered and formatted and then use it as a guide for creating their own blog posts. You can also use the variables mentioned in the bullet points in the earlier Welcome Email option to have WordPress add some information for you automatically.
Scrolling down the Network Settings screen, you get to the Upload Settings section (see Figure 3-6), which defines global values pertaining to the type of files you’ll allow the site owners within your network to upload by using the file upload feature in the WordPress Write Posts and Write Page areas. (See Book 3, Chapter 3.)
FIGURE 3-6: The Upload Settings section of the Network Settings screen=.
The fields in the Upload Settings section have default settings already filled in:
jpg jpeg png gif mov avi mpg 3gp 3g2 midi mid pdf doc ppt odt pptx docx pps ppsx xls xlsx key mp3 ogg flac m4a wav mp4 m4v webm ogv flv
. You can remove any default file types and add new ones.The Plugins administration menu is disabled on the Dashboards of all network site owners, but the network administrator always has access to the Plugins menu. If you leave this check box unselected (see Figure 3-7), the Plugins page is visible to users on their own site’s Dashboards. Select the box to enable the Plugins administration menu for your network users. For more information about using plugins with WordPress, see Book 7.
FIGURE 3-7: The Menu Settings section of the Network Settings screen.
Clicking the Sites menu item on the Network Admin Dashboard takes you to the Sites screen, where you can manage your individual sites. Although each site in the network has its own Dashboard for basic tasks (publishing, changing themes, and so on), the Sites screen is where you create and delete sites and edit the properties of the sites within your network. Editing information from this page is handy when you have problems accessing a site’s back-end Dashboard.
The Sites screen also lists all the sites within your network, displaying the following statistics for each site:
lisa
. This path means that the site's domain is lisa.
yourdomain
.com
(if you're using a subdomain setup) or yoursite
.com/lisa
(if you're using a subdirectory setup). I discuss subdomains and subdirectories in Book 8, Chapter 2.FIGURE 3-8: Site-management options on the Sites screen.
When you hover your pointer over the pathname of a site in your network, you see a handy listing of links that help you manage the site. Figure 3-8 shows the options that appear below a site listing when you hover your mouse over a site name.
The management options for network sites, most of which are visible in Figure 3-8, are as follows:
Deactivate: Click this link to mark the site for deletion from your network. A message appears in a pop-up window, asking you to confirm your intention to deactivate the site. Click the Yes button to confirm. The user’s site displays a message stating that the site has been deleted.
You can reverse this action by revisiting the Sites screen and clicking the Activate link that appears below the site pathname. (The Activate link appears only for sites that are marked as Deactivated.)
Archive: Click this link to archive the site on your network and prevent visitors from viewing it. The user’s site displays a message stating This site has been archived or suspended
.
You can reverse this action by revisiting the Sites screen and clicking the Unarchive link that appears below the site’s pathname. (The Unarchive link appears only for sites that are marked as Archived.)
Spam: Click this link to mark the site as spam and block users from accessing the Dashboard. WordPress displays the message This site has been archived or suspended
.
You can reverse this action by revisiting the Sites screen and clicking the Not Spam link that appears below the site's pathname. (The Not Spam link appears only for sites that are marked as Spam.)
FIGURE 3-9: The Edit Site screen.
Generally, you use the Edit Site screen (refer to Figure 3-9) only when the settings are unavailable from the Dashboard of that particular site. Configure these options on the four tabs of the screen:
The Sites menu also includes a link called Add New. Click that link to load the Add New Site screen (see Figure 3-10) in your Network Admin Dashboard. Fill in the Site Address (URL), Site Title, Site Language, and Admin Email fields and then click the Add Site button to add the site to your network. If the Admin Email you entered is associated with an existing user, the new site is assigned to that user on your network. If the user doesn’t exist, WordPress creates a new user and sends a notification email. The site is immediately accessible. The user receives an email containing a link to her site, a login link, and her username and password.
FIGURE 3-10: The Add New Site screen of the Network Admin Dashboard.
Clicking the Users link on the Network Admin Dashboard takes you to the Users screen (see Figure 3-11), where you see a full list of members, or users, within your network.
FIGURE 3-11: The Users screen.
The Users screen lists the following information about each user:
You can add users to the network, manage users, and even delete users by clicking the Edit or Delete links that appear below their names when you hover over them with your mouse (the same way you do with sites on the Sites screen).
To delete a user, simply hover your mouse over the username in the list that appears on the Users screen, and click the Delete link. A new screen appears, telling you to transfer this user’s posts and links to another user account (most likely, your account). Do that and then click the Confirm Deletion button. WordPress removes the user from the network.
You can also edit a user’s profile information by clicking the Edit link that appears when you hover your mouse over his name on the Users screen. Clicking that link takes you to the Edit User screen, shown in Figure 3-12, which presents several options. These options happen to be (mostly) the same options and settings that you configured for your own profile information (as discussed in Book 3, Chapter 2).
FIGURE 3-12: The Edit User screen.
The only difference with the Edit User screen within the Network Admin Dashboard is the setting labeled Super Admin, which is deselected by default. If you select this check box, however, you grant this user network admin privileges for your entire network, which means that the user has exactly the same access and permissions as you.
Also on the Users menu of the Network Admin Dashboard, you see a link called Add New. Click that link to load the Add New User page on your Network Admin Dashboard (shown in Figure 3-13).
FIGURE 3-13: The Add New User screen of the Network Admin Dashboard.
You can add a user by filling in the Username and Email fields and then clicking the Add User button. WordPress sends the new user an email notification of the new account, along with the site URL, her username, and her password (randomly generated by WordPress when the user account is created).
When a network is enabled, only users who have Network Admin access have permission to install themes, which are shared across the network. You can see how to find, install, and activate new themes in your WordPress installation in Book 6, Chapter 1. After you install a theme, you must enable it on your network to have the theme appear on the Appearance screen of each site. To access the Themes screen (shown in Figure 3-14), click the Themes link on the Network Admin Dashboard menu.
FIGURE 3-14: The Themes screen of the Network Admin Dashboard.
By and large, all WordPress plugins work on your network. Some special plugins exist, however, and using plugins on a network involves some special considerations.
Browse to the Plugins screen of your WordPress Network Admin Dashboard by clicking the Plugins link. The Plugins screen is almost the same as the one shown in Book 7, Chapter 1, but if you don’t know where to look, you can easily miss one very small, subtle difference. Check out Figure 3-15, and look below the name of the plugin. Do you see the Network Activate link? That link is the big difference between plugins listed on the regular Site Dashboard and those listed on the Network Admin Dashboard. As the network administrator, you can enable certain plugins to be activated across your network. All sites on your network will have the network-activated plugin features available, in contrast to plugins that you activate on the regular Dashboard (Site Admin), which are activated and available only for your main website.
FIGURE 3-15: The Network Plugins screen.
Only network administrators can install new plugins on the site; regular users within the network don’t have that kind of access (unless you’ve made them network administrators in their User settings).
Also located on the Plugins menu of the Network Admin Dashboard are two other links: Add New and Editor. Click the Add New link to load the Plugins screen, where you can add and install new plugins by searching the WordPress Plugins page within your Dashboard. (I cover this topic in Book 7, chapters 1 and 2.) The Editor link gives you access to the Plugin Editor (covered in Book 7, Chapter 4).
If you choose to have open sign-ups, in which any member of the public can register and create a new site on your network, at some point automated bots run by malicious users and spammers will visit your network sign-up page and attempt to create one, or multiple, sites in your network. They do so by automated means, hoping to create links to their sites or fill their site on your network with spam posts. This kind of spam blog or site is a splog.
Spam bloggers don’t hack your system to take advantage of this feature; they call aspects of the sign-up page directly. But you can do a few simple things to slow them considerably or stop them.
In the Registration Settings section of the Network Settings screen (refer to Figure 3-4), clear the Add New Users check box to stop many spammers. When spammers access the system to set up a spam site, they often use the Add New Users feature to create many other blogs via programs built into the bots.
Spammers often find your site via a Google search for the link to the sign-up page. You can stop Google and other search engines from crawling your sign-up page by adding rel=nofollow,noindex
to the sign-up page link. Wherever you add a link to your sign-up page inviting new users to sign up, the HTML code you use to add the nofollow,noindex
looks like this:
<a href="http://yoursite.com/wp-signup.php" rel="nofollow,noindex ">Get your own site here</a>
Plugins can help stop spam blogs, too. The Anti-Splog plugin prevents and limits spam bots, and also identifies humans and known spammers efficiently. You can download the Anti-Splog plugin at https://wordpress.org/plugins/anti-splog
.
The Cookies for Comments plugin (available at https://wordpress.org/plugins/cookies-for-comments
) leaves a cookie in a visitor's browser. If the sign-up page is visited, the plugin checks for the cookie. If no cookie exists, the sign-up fails. Be sure to check the installation directions for this plugin, because it requires editing the .htaccess
file.