• Resolved aizik

    (@aizik)


    Hi

    Upgraded from 2.9 to 3.0 b2. Everything seems to be working fine except that newly uploaded images are not displayed.

    The generated url for a new image is (what appears in the source code for a page):
    https://site.com/files/2010/05/image.jpg

    The image appears broken.

    Opening the following address does works:
    https://site.com/wp-content/files/2010/05/image.jpg

    The images are uploaded to the correct directory the only problem is with the “/wp-content/” added to the url.

    Any ideas? Thanks!

    ps. I have to sites, both showing the same problem. The first one was converted, the second one is new. Also, I started with subdomains and then changed to subdirectories. To change to subdirectory I modified wp-config and htaccess.

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

    (@ipstenu)

    ?????? Advisor and Activist

    abingabanger, since this topic is resolved, you should make a NEW one over in the multisite section ??

    https://www.ads-software.com/support/forum/multisite

    Most of us assume when a ticket’s resolved, no one needs anymore help ??

    I also have an issue, thats weak, not like something here. I uploaded images on August, it shows on folder /08. But now is september, images dont show anymore.

    I checked folders manually, it created a new folder wp-content/wp-content/1/files/08 or something like this, depends on site id. I dont know why, all site setting is like as default. I havent changed upload setting.

    So how to fix it? I’m using win 2008 server, iis 7.

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    tkien, please make a new post for this with your specifics. At a guess, your files folder permissions aren’t correct, so it can’t make a new 09 folder. And yes, wp-content/wp-content/1/files/08 is what the folders are supposed to be.

    Had this problem. Cause was not having

    AllowOverride All

    in the Directive for the Apache VirtualHost.

    Once that was fixed, the .htaccess file started working ??

    Here is the fix for me:

    1. Make sure that mod-rewrite is enabled in Apache when you first install Apache. You can enable it by
      sudo a2enmod rewrite
    2. Then edit /etc/apache2/sites-available/default
      Find the following

      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all

      and change it to

      Options Indexes FollowSymLinks MultiViews
      AllowOverride all
      Order allow,deny
      allow from all

    3. and finally restart Apache
      /etc/init.d/apache2 restart

    And, you are done.
    Thanks

    Pretty nice, but what if I can’t edit /etc/apache2/sites-available/default ? I have the same problem with images. They upload fine, but I don’t see them in media library.

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘Multisite image path error’ is closed to new replies.