RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
I have those rules in the httpd.conf file buy my sites are running slow. I've gone though as much as I can to speed to no avail so I thought I would as if those are the most efficient mod_rewrite rules for a large wordpress cluster in the form of site1.example.com site2.example.com.