The MU forums have moved to WordPress.org

uploads work, links don't (1 post)

  1. kipprsnak
    Member
    Posted 16 years ago #

    Hi Everyone, I've read tons of people dealing with this problem and the fixes I've found so far don't seem to work.
    The upload goes up fine, the links are broken. Neither the real url or the rewrite works. I check with my host and they said there was no issue with readfile() (that is, it is available to me), I've turned on and off allow_url_fopen, and below is my .htaccess file.

    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>

    I'm sort of at a loss. Any ideas?

    THanks so much for any help!

About this Topic

  • Started 16 years ago by kipprsnak