• Resolved josee225

    (@josee225)


    Hello,

    I just upgraged a clean WP install to MU. Then proceded to install my theme and one plugin (Multisite Language Switcher) and a French language pack.

    I just can’t get the images to load in the front-end. I searched this form=um and nothing I read seems to work. I am at a loss.
    I have 2 sites configured, one for our english version, one for our french version.

    Here is what my htaccess file looks like:

    RewriteEngine On
    RewriteBase /blogue/
    RewriteRule ^index\.php$ - [L]
    
    Options FollowSymlinks
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    and my path to upload in the sites settings are as follow:
    wp-content/blogs.dir/1/files
    and
    wp-content/blogs.dir/2/files

    Where did I go wrong?

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

    (@ipstenu)

    ?????? Advisor and Activist

    The images should be accessed at domain.com/blogue/files//…

    If they are, then check if your httpd.conf has AllowOverride set to all.

    Thread Starter josee225

    (@josee225)

    First, let me say thank you for taking the time to answer my post.

    Now let me get one thing straight in my head:
    If my wordpress installation is in mydomain.com/blogue, my images should be located at “mydomain.com/blogue/files/whatever folder get created at upload” ?
    I just want to make sure I am getting this right ??

    And now, where can I check for the httpd.conf? It sounds familiar, but I am no expert in web servers ??

    Once again, thanks!

    Thread Starter josee225

    (@josee225)

    Ok, so I contacted my hosting provider, and set up an .htaccess file to AllowOverride All, placed it in the blogs.dir folder, but it gives me the direct path to my file in the code, but it is still not showing up… I tried moving it around, no success ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No no.

    httpd.conf is not the same as .htaccess.

    Now if they say ‘You can make the change in your .htaccess’ then you should make that in the one in the same folder as your wp-config.php (aka your master .htaccess).

    I don’t know what this means:

    but it gives me the direct path to my file in the code

    Thread Starter josee225

    (@josee225)

    Hi, thanks.

    I tried adding it to my htacces file (see first post), in my WP root install but I get a 500 error ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You need to get back with your host. Ask them, specifically, “Can I change AllowOverride in my htaccess? And if so, how?”

    Doing that isn’t normal. That’s generally a server wide setting, which is why it needs to be made in the httpd.conf file.

    Thread Starter josee225

    (@josee225)

    Hi,

    I contacted my hosting provider as suggested, and I don’t know what they did, unfortunately, but he mentioned something about:
    The issue here is not with the images but how they are shown I’ll have to check the logs and fix this up

    So he did look it up and fixed it, I just don’t know how. But all is fine now.

    I want to say that I very much appreciate your help in this matter!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Iamges not showing in new installation’ is closed to new replies.