The MU forums have moved to WordPress.org

User data path (8 posts)

  1. carpman
    Member
    Posted 18 years ago #

    Hello, ok i have installed wordpress-mu as per instruction but have a user data path issue?

    All images are being uploaded to
    /hsphere/local/home/wwwuser/domain.com/wp-content/blogs.dir/1/files/2008/08

    but wordpress is trying to load them from:

    /hsphere/local/home/wwwuser/domain.com/files/2008/08/

    Any ideas?

    cheers

  2. andrea_r
    Moderator
    Posted 18 years ago #

    that's what it is supposed to do.

  3. carpman
    Member
    Posted 18 years ago #

    Hello, ok i believe this to do with my htaccess file, if turn it on i get error in logs:

    .htaccess: RewriteBase: argument is not a valid URL

    and site does not work. But if i disable it the site works fine but images paths do not work?

    Any ideas?

    cheers

  4. andrea_r
    Moderator
    Posted 18 years ago #

    Image paths do not work because you turned the htaccess file off. You need to fix that.

    Did you let the install create the htaccess for you?

    if not, that line needs to be
    RewriteBase /

  5. carpman
    Member
    Posted 18 years ago #

    Cheers, yep did allow it, below is output.

    I have standard wordpress install on same server and this works fine.

    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>

  6. carpman
    Member
    Posted 18 years ago #

    Any ideas?

    mod_rewrite is working fine on server it is just with wordpress-mu install that is not?

  7. andrea_r
    Moderator
    Posted 18 years ago #

    "RewriteBase BASE/"

    needs to be

    RewriteBase /

  8. carpman
    Member
    Posted 18 years ago #

    Cheers, found this already but thanks for post.

About this Topic