Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Accessing media redirects to 404 error


Peter Anselmo
Participant

@peteranselmo

Ray,

Yes, that was my first instinct as well, and yes, there is something similar in the .htaccess file.

RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

Here’s my issue: I have another test install with the exact same .htaccess file, and it’s working fine.

WPMU 2.8.6/BP1.1 – Doesn’t work

WPMU 2.9/BP1.2 – Works

Same .htaccess

Here’s an example of the same path, in a different install, that’s working:

http://wpmu.sixtysixinc.com/wpmu2.9/wp-content/blogs.dir/1/files/group-documents/5/1266345458-score.jpg

Skip to toolbar