Installation

Server Dependencies

Pressbooks is free and open source software and can be hosted on your own server. We strongly recommend anyone installing Pressbooks on a production server to use a properly configured Bedrock. We maintain a sample Bedrock with instructions that you are welcome to use when installing Pressbooks on your own server.

In addition to the Pressbooks plugins and themes included in the sample Bedrock, Pressbooks requires some third-party libraries to be installed on your server to enable export capabilities.

Sample .htaccess file:

RewriteEngine On RewriteBase /~example/yourdomain/ RewriteRule ^index.php$ - [L]

# add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule [1]+/(wp-(content|admin|includes).) $1 [L] RewriteRule [2]+/(..php)$ $1 [L] RewriteRule . index.php [L]

Configure Network Settings & Create Your First Book

  1. Navigate to Network AdminDashboard → Settings** → **Network Settings** and select the most appropriate Registration setting:
    • User accounts may be registered. (User accounts can be registered, but these users will not be able to create their own books)
    • Logged in users may register new sites. (Network administrators can add new users, who can then create their own books (i.e. sites))
    • Both sites and user accounts can be registered. (Allows visitors to your network to create their own accounts and then create their own books without central moderation. If you choose this option, you will likely need to have good account and content moderation practices to avoid your network being flooded with spam.)
  2. Navigate to My BooksCreate a New Book
  3. Fill in the form and click 'Create Book' to create your first book

Consult our user guide for more details on how to use Pressbooks to create and publish books.


  1. _0-9a-zA-Z- ↩︎

  2. _0-9a-zA-Z- ↩︎