• Resolved hermida

    (@hermida)


    I just upgraded to WordPress 3.0 from WPMU. The images on the site are not appearing: https://thethunderbird.ca/

    The images are in the directory:
    /thethunderbird.ca/html/wp-content/blogs.dir

    Could someone suggest which instruction I need to change to make the images work again?

    Many thanks.

Viewing 11 replies - 76 through 86 (of 86 total)
  • You so totally owe me a large tea. ??

    T

    :)) Thanks! It was actually your last post that helped me find the problem!

    I think that my .htaccess is the culprit also. I’ll see what my webhost (hostgator) says.

    Hello

    First I would like to say a great big thank you to everyone, those who are reading, those who will read and those who have helped and moved on.

    My website is: https://www.tandooricookingexpert.com

    I have the same problem. Images will not show. I have done the following:
    1. cleared cache- no difference
    2. deactivate all plugins- no difference
    3. installed “WordPress to WordPress plugin”- no difference

    My problem is that external images will show. For example:
    https://www.tandooricookingexpert.com/blog/2010/09/25/another-try/

    But any internal images will not show even when using the plugin. For example:
    https://www.tandooricookingexpert.com/blog/2010/09/25/quickie-test/

    I have google maps also and the map inmages will not show. Example:
    https://www.tandooricookingexpert.com/google-dir/

    I have read through the post and am a little afraid to mess with the .htaccess file in case i mess everything up.

    Any help would be much appreciated.

    Some quick troubleshooting shows as soon as I try to get to https://www.tandooricookingexpert.com/wp-content/blogs.dir/1/files/, which is the full server path to where the images are stored, then I get an error.

    Check and see if there are any other folders above that level named “files”. Like https://www.tandooricookingexpert.com/wp-content/blogs.dir/1/files/https://www.tandooricookingexpert.com/files/ – look via cpanel or ftp.

    If there *is* a folder there called that, it’s interfering.

    Also check your htaccess file and make sure it has this line in it:

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    Thank you for the quick reply.

    I can find no files or folders with the names “files” above that heir achy. I looked via cPanel.

    I can find no .htaccess file. I have looked using cPenel. There is no .htaccess file in the root directory. This is strange because my site redirects to wwww from non-www. It should not be hidden in cPanel.

    Where does it normally be?

    Sorry my fault in Cpanel it is not there. So i tried FileZilla FTP and it shows the htaccess file in the root directory of tandooricookingexpert.com.

    There is already some code it is:
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    I have put the new code below this. Do i delete the old code or leave all of it? (Dont have a clue what it means).

    There is no directory:
    https://www.tandooricookingexpert.com/files

    But this is the file path it show in the uploader? Very strange.

    The file path of the file go.jpeg is:
    tandooricookingexpert.com/wp-content/blogs.dir/1/files/2010/09/go.jpeg

    This is no 404 error but just goes back to the home page.

    Any help much appreciated.

    Sorry forgot to say.

    The exact file path in the uploader shows:
    https://www.tandooricookingexpert.com/files/2010/09/go.jpeg

    I can find no files or folders with the names “files” above that heir achy. I looked via cPanel.

    Good, that’s what we want.

    I can find no .htaccess file. I have looked using cPenel.

    CPanel’s file manager can be set to NOT show hidden files. Considering you did see it via ftp, then it was a cpanel setting.

    I have put the new code below this. Do i delete the old code or leave all of it? (Dont have a clue what it means).

    The instructions stated to *replace* all the code in the htaccess file with the new rewrite rules it gave you. that’s your problem.

    You have done it in. Your are a genius.

    From my heart “may you prosper”.

    In my case I had attempted to switch to WordPress multi-site and then gone back to single site. All my images in my case had moved to the main root directory in a file uploads in the wp-content file. Once I moved the uploads to where they was supposed to be (in my case domainname.com/wp) then my images showed up.

Viewing 11 replies - 76 through 86 (of 86 total)
  • The topic ‘Images not appearing’ is closed to new replies.