Thesis and WordPress Multisite Compatibility

This page is part of the Troubleshooting documentation.

CSS: Apache Directive

Thesis 2.1+, when used with WordPress Multisite, requires a special Apache Directive in the .htaccess file. This additional directive allows for cleaner output on the front end and also makes Multisite CSS more compatible with some caching plugins.

To add the Apache Directive, follow these simple steps:

  1. Open your .htaccess file located in the WordPress root.
  2. Find the following in the .htaccess file:
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
  3. Add the following line (in green) to your .htaccess file:
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule wp-content/thesis/skins/(.*)/css.css wp-admin/admin-post.php?action=thesis_do_css
  4. Save the file. If you’re running caching plugins or caching software, be sure to empty/flush your cache.

It is important that you put the above rule in the correct position within the .htaccess file or it will not work.

If you are running a caching plugin, there may be tens or hundreds of lines of Apache Directives. In this case, you may need to contact your hosting company/sysadmin.