• Resolved Fothery

    (@fothery)


    Hi,

    I installed 3.2.1 as a multisite with sub domains a week or so ago at heartofthe.net. All seemed to work okay ie I had sorted out wildcard domains etc..

    But, on messing about with a sub blog paul.heartofthe.net I appear to be having image upload and display problems.

    When I upload an image eg from within a new blog post, the image gets uploaded correctly to (it is blog number 4) wp-content/blogs.dir/4/files but the URL inserted into the post by WordPress doesnt work and therefore the image isnt displayed.

    So, the image exists at:

    https://heartofthe.net/wp-content/blogs.dir/4/files/2011/08/toxel.jpg

    But should also be found by multisite via:

    https://paul.heartofthe.net/files/2011/08/toxel.jpg

    I have read Image upload problems for multisite subdomain site which is essentially the same problem from what I can see.

    Based on this previous thread, I have confirmed with my web host that AllowOverride is set to ALL and my .htaccess looks okay too. It’s exactly the same as the .htaccess specified inside the Admin dashboard under Network Setup:

    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]

    Any ideas where I might be going wrong…?

    Any help much appreciated.

Viewing 3 replies - 16 through 18 (of 18 total)
  • UPDATE : problem solved, I found this at htaccess main root, and disabled it. Its work likes charm now ??

    # Protect directories
    <Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
      Order deny,allow
      Deny from all
    </Files>
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    mujie – Next time make a new post for yourself ?? If a post is marked resolved, we assume no one needs anymore help.

    @ipstenu : my apoligies, I just curious how Fothery resolving his problem, because its looks similiar with my problem. Nice thread ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Multisite image upload/link problem’ is closed to new replies.