The MU forums have moved to WordPress.org

.htaccess Problem- Expert help please (3 posts)

  1. mickymich
    Member
    Posted 15 years ago #

    Can someone please tell me if this .htaccess looks correct, my WPMU is is subdirectory /blogs. Also should the .htacces be in the blogs folder or put on my root.

    I have had some problems and posted a thread but some idiot spammed it and it got took off the search : http://mu.wordpress.org/forums/topic.php?id=8622#post-51641

    Will give you more of an idea of whats going on. Any help would be great and I thank you all in advance.

    It's in a subdirectory /blogs

    Does the htaccess need to be in the root and not in the WPMU subfolder ?

    Can you check my htaccess to see if you can spot anything wrong

    RewriteEngine On
    RewriteBase /blogs/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    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>

  2. mickymich
    Member
    Posted 15 years ago #

    This issue is resolved.

    Thanks

  3. Cruth
    Member
    Posted 14 years ago #

    Frustrating when you read a relevant post title, and you see that there is no response. Is there way to clean this up? thanks.

About this Topic