Help with .htaccess file needed
Posted by: ArnyVee
Posted on: 2009-08-08 18:34:00
Hello all,
Dreamhost support suggested that I check with the forums for some help on my .htaccess file issue.
I have a WordPress MU install that is all setup, but the .htaccess is keeping me from accessing the admin panel. I guess that I've got some rewrite that is not allowing me to get to it.
What would I need to do to get this working properly? Here is the file's contents....
In reply to:RewriteEngine On
RewriteBase /blogs/
#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>