Book Image

WordPress Multisite Administration

By : Tyler Longren
Book Image

WordPress Multisite Administration

By: Tyler Longren

Overview of this book

WordPress is an incredibly popular blogging platform. Few people realize that the software behind WordPress.com, which is a standalone WordPress with multisite enabled, is available for free, for anyone to make use of. WordPress Multisite is a special “mode” built into WordPress, which allows you to create a network of multiple websites, all running on a single installation of WordPress. WordPress Multisite Administration is an easy-to-understand book filled with information, tips, and best practices to help you create and manage a blog network similar to http://wordpress.com/, by using WordPress Multisite. WordPress Multisite Administration will take you through all the steps necessary to get WordPress Multisite installed and configured on your server. It covers everything from installation and initial configuration to customizations and some helpful troubleshooting tips. You will also learn how to build your own blog directory that features the authors in your WordPress Multisite network. The blog directory is built by making use of WordPress child themes, an incredibly useful thing to know how to do. You'll learn everything you need to know about running and maintaining a WordPress Multisite installation.
Table of Contents (14 chapters)
WordPress Multisite Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Securing the wp-includes folder


You can secure your wp-includes folder too. None of the scripts in that folder have any reason to be accessed by any user. One method to restrict access to the wp-includes scripts is to use the mod_rewrite Apache module. The following code is taken from the WordPress Codex; it's what I always use in the .htaccess file in the root of my websites. Edit your main .htaccess file as we did before with FileZilla. The "main" .htaccess file is the one that sits in the root of your web doc's folder, or where you see the wp-config.php file. Enter the following code immediately before the #BEGIN WordPress line or immediately after the #END WordPress line.

# Block the include-only files.
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]

Once you've added that code to your main .htaccess file, save it and re-upload...