• Resolved Angela

    (@angelazou)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?

    Thread Starter Angela

    (@angelazou)

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

    Angela

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?)

    Thread Starter Angela

    (@angelazou)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

    Thread Starter Angela

    (@angelazou)

    Great, the rewrite is finally occurring. Thanks.

    Angela

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multisite Media Files Not Showing’ is closed to new replies.