WordPress.org

Support

Support » Multisite » [Resolved] All images on new sub-site getting 403 forbidden errors

[Resolved] All images on new sub-site getting 403 forbidden errors

  • erikajurney
    Member

    @erikajurney

    I have a main site: tryhandmade.com
    And a sub-site: gallery.tryhandmade.com

    tryhandmade has been around for a while and I recently converted it to be the main site of a multisite network.

    The gallery site used to be a standalone, but I’m (trying to) bring it under the main umbrella. I’ve imported all the posts, but all the image files are getting 403 forbidden errors. I’m thinking that this is a problem with my htaccess file? Or gremlins? Here’s the very first part of my htaccess:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    The rest of htaccess is all the stuff needed for W3 total cache.

    Here’s an example of a file which gets a 403:
    http://gallery.tryhandmade.com/files/2010/09/CIMG32943.jpg

    This is where it should go, but doesn’t:
    http://gallery.tryhandmade.com/wp-includes/ms-files.php?file=/2010/09/CIMG32943.jpg

    I hope I haven’t left out any important details… Anyone have any brilliant ideas? I’m all out.

    Thanks very much,
    Erika

Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] All images on new sub-site getting 403 forbidden errors’ is closed to new replies.