• Resolved Exme

    (@exme)


    Website: tor-fashion.com

    Background: A couple of weeks ago, I transformed my WordPress installation into a multisite (subdomain) with TOR Fashion as the top level domain. A week later, I converted the permalinks from https://tor-fashion.com/2014/01/08/sample-post/ to https://tor-fashion.com/sample-post/. I have added a subdomain site from scratch, but I’ve only gotten as far as creating the front page.

    Issue: Over the last few days, I’ve noticed a lot of image links are no longer working. When I check the images in the Media Library, they are there, but they show as broken images too. NOTE: I have nearly 38,000 images in the Media Library.

    The broken images seem to be pretty random. For example, on this post the missing images were uploaded in June 2012, but the Featured Image is also broken and that wasn’t uploaded until August 2013. I have had some conflicts with images and posts having the same name, but the Jun 2012 images were spelled incorrectly and the Featured Image has “thumb” in the title, so it’s not an issue with name conflicts.

    I can upload new images with no problem, but it does seem like more older images are broken every day.

    Attempted fixes: Yesterday while doing some research into this, I broke my .htaccess file and had to reload it from scratch to fix the site. Unfortunately, that didn’t fix my broken images problem. Here is the code I currently have in the .htaccess file:

    # 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

    I have tried turning off all the plugins and resetting the theme to Twenty Thirteen and Twenty Fourteen, but neither worked.

    In the file manager of my hosting account (GoDaddy Linux), there are year and month folders in the wp-content/uploads for 2012 and 2013, but not 2014. All of the files uploaded in 2014 are sitting directly in wp-content/uploads.

    I would appreciate it if anyone had some ideas on how to fix it. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Broken Image Links in Media Library’ is closed to new replies.