• Resolved jeff.cave

    (@jeffcave)


    I recently came to my senses and installed multi-site for my wife’s and my personal websites. I am currently migrating my old site to the multisite installation.

    1. Export from old site
    2. Import to new site

    RESULT: all images are returning a 404

    Things I checked:

    1. I did click the checkbox to load images
    2. the files are present on the file system, but the link to them appears to be invalid.

    Not sure where to start looking, cannot seem to resolve to one of the images, so I am not sure exactly where to start. Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • check the .htaccess, it needs to direct to files.php in wp-content which redirects to the appropriate uploads directory either for the main site which should be wp-content/uploads and subsites should be wp-content/blog.whatever(forgotname)/ID/uploads

    Thread Starter jeff.cave

    (@jeffcave)

    I am not an .htaccess master, so..

    Basically you are saying take everything from “http://domain/files/…”, and redirect it to “http://domain/wp-content/files.php”.

    RewriteRule ^files/ /wp-content/files.php [F,L]

    Does that look reasonable? I am using BulletProof Security, so my .htaccess is “robust”.

    yes, that looks correct

    Which images are having the wrong links on them? is that site #1 (main site) or one of the subsites?

    Thread Starter jeff.cave

    (@jeffcave)

    1. It is an .htaccess problem
    2. I have not customized the file
    3. BulletProof modifies the .htaccess
    4. Why am I the only one experiencing this?

    Ok… I feel stupid now. Apparently I just needed to talk it out with someone. Thank-you.

    When configuring BulletProof, I had misread one of the instructions. I created a “subfolder” type .htaccess file but needed a “subdomain” type file. I had BulletProof recreate its .htaccess file and everything works fine.

    Again… thank-you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Media references not resolving’ is closed to new replies.