WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite Media Files Not Showing (7 posts)

  1. Angela
    Member
    Posted 2 years ago #

    It's rather strange that any files I uploaded to any of the multisites don't show up. It's like they never existed. I think maybe there is something wrong with the htaccess rules, but I'm using the default rules.

    So right now, I have uploaded an image, and WordPress is giving me this link to it, but when you click on it, it will just say 404 file not found. I can see the file if I go to the hosting file manager and open the blogs.dir directory and looking for it.

    For now, every time I wish to upload an image, I have to go digging for it, and use the http://www.mydomain.com/blogs.dir URL, which is extremely frustrating. I wonder if anyone else is having this issue, and how can I resolve it. Thanks.

    Angela

  2. That sounds like a .htaccess that isn't correct, or one that isn't being read by your server.

    What's in your .htaccess and are you using subdomain or subfolders?

  3. Angela
    Member
    Posted 2 years ago #

    I'm not sure, I'm only using the default .htaccess rules, nothing more. What could go wrong?

    Angela

  4. And what IS that? :)

    (Me asking 'what's in your .htaccess' is a way of asking you to POST that content here. Also are you using subdomain or subfolders in your MultiSite?)

  5. Angela
    Member
    Posted 2 years ago #

    I'm using subdomains with a wildcard DNS entry. And like I said, I'm using default htaccess rules as follows

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    # END WordPress

    And here is an example of the image that I am suppose to access it via the subdomain link , which if you accessed it, turns out to be a 404 page.

  6. Right, you're using the wrong .htaccess. You missed a step when Creating A Network, i.e. the part that said 'Now change your .htaccess....'

    I asked if you were using subdomains or subfolders because I know (and documented) that the .htaccess is different depending on the answer.

    Read http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite

    Use the .htaccess example for Subdomains listed there.

  7. Angela
    Member
    Posted 2 years ago #

    Great, the rewrite is finally occurring. Thanks.

    Angela

Topic Closed

This topic has been closed to new replies.

About this Topic