Chapter 2

Code Overview


  • Downloading WordPress
  • Configuring wp-config.php and .htaccess
  • Exploring the wp-content directories
  • Enabling maintenance mode in WordPress

WordPress is a software package that comprises groups of source code files that perform specific tasks within the system. Understanding the code, including file and folder structure, is essential to understanding how WordPress works as a whole.

After reading this chapter, you will be familiar with downloading and exploring the WordPress filesystem. This chapter also discusses configuring key WordPress files, including the powerful wp-config.php and .htaccess files. It also covers some advanced configuration options available in WordPress.


The first step to installing WordPress on your own hosting account is to download the source files required for WordPress to run. This section digs deeper into the core of WordPress.

Download Locations

You can download the latest stable release of WordPress directly from by visiting the download page located at

You can also update WordPress directly from your current WordPress installation by visiting the Updates WordPress section under the Dashboard ⇒ Updates SubPanel. Click the Download button to download the latest version of WordPress to your computer.

WordPress also features Subversion (SVN) access. Subversion is a free, open source version control system. WordPress uses Subversion to manage files ...

Get Professional WordPress: Design and Development, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.