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 wp-config.php


Making sure that wp-config is secure is pretty simple. The only people who should have access to the file are you and the user your web server runs as.

Sometimes, for whatever reason, people will try to surf to your wp-config.php file. Won't do them much good in most cases, but there's another .htaccess trick we can employ to ensure that they're not allowed to get to wp-config.php. The following code is what's needed to deny access to wp-config.php:

<files wp-config.php>
order allow,deny
deny from all
</files>

You'll need to add the preceding code to your main .htaccess file, the one sitting in the same folder as wp-config.php. So, using FileZilla again, view/edit the main .htaccess file and add the preceding code to it. The following screenshot shows what your .htaccess file should look like with the preceding code added:

Restrict access to wp-config.php