Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: htaccess.dist and / or .htaccess? I like to over complicate things sry

@bigkill

Participant

okay.. for future BP installers if you get 500 error after mu install and your host doesn’t like your .htaccess file

the default htaccess.dist looks like this

RewriteEngine On
RewriteBase BASE/

#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>

But…

notice line #2

RewriteBase BASE/

this should read

RewriteBase /

so if you get 500 error.. this could be the culprit – works for me

source – https://mu.wordpress.org/forums/topic.php?id=11076

Skip to toolbar