Hi, I'm just wondering if anyone sees an issue using the Monotone theme inside WPMU, given that some .htaccess tweaks are necessary. I'm no programmer, but it looks to me like they might conflict at some points. Thoughts? Suggestions?
### Begin WPMU default HTACCESS ###
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
### Begin Monotone HTACCESS Addition ###
RewriteEngine On
RewriteCond %{QUERY_STRING} ^.*(w|h|f)\=.*$
RewriteRule ^(wp\-content\/uploads\/.*\.)(jpg|JPG|jpeg|png|PNG|gif|GIF)$ /thumb.php?image=$1$2 [QSA,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I first posted this at the regular (non-MU) WordPress forums, so I apologize if this gets under anyone's skin. I realized after the fact that it might be better posted here.
Anyway, so far this is working for me on a not-quite-live site, but I just want to make sure it won't be a problem later.
Thanks - E