Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The design templates for the jQuery sites

branch: master web-base-template

This is a set of plugins, themes, and configuration files for jQuery's website infrastructure, which is powered by WordPress. It is designed as a custom content directory. So think of web-base-template as your wp-content directory.


  1. Configure your local webserver with a virtual host that covers the relevant jQuery domains, such as * and *, all pointing to the same root. For example, in Apache:

    <VirtualHost *:80>
    ServerAlias * * * * * *
    DocumentRoot "/srv/www/jquery"
  2. Configure your /etc/hosts file to point,, etc. to your local machine. For example:

    Be sure to flush your DNS when you are done. On a Mac, that would be dscacheutil -flushcache.

  3. Place the WordPress core files in the document root you chose. (Don't install it.) You can do this any number of ways:

  4. Clone web-base-template into place, so you have a file tree that looks like this:

  5. Copy web-base-template/wp-config-sample.php and move it up one directory, to wp-config.php. Fill in your database credentials.

  6. Create an .htaccess file with the following content into that same document root:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteRule ^resources/(.*) gw-resources/%{HTTP_HOST}/$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
  7. Go to and walk through the standard WordPress installation. web-base-template includes a special install script that will initialize the entire network.

Something went wrong with that request. Please try again.