[resolved] Images Broken After Multisite Server Change (5 posts)

  1. davegregg
    Posted 4 years ago #

    So, I've moved our large WordPress multisite installation from Bluehost to MediaTemple DV (VPS). First, I exported the DB from Bluehost and installed it onto the MediaTemple server. Then I pointed wp-config (still on the Bluehost file server) to the DB on MediaTemple. Then uploaded a copy of the filesystem to MediaTemple, made the appropriate change to the wp-config on the MediaTemple file server, and then set the domain name to point to the MediaTemple server.

    Everything appears to work fine, except some of the images are broken. Help me think this out...

    Here's an example of what's not working: http://jhowell.authorsxpress.com/

  2. Is jhowell a subsite?

    http://jhowell.authorsxpress.com/files/2011/08/header1.jpg gives a 404, so it looks like it's not parsing the URL. What's in your .htaccess?

  3. davegregg
    Posted 4 years ago #

    Yes, that's one of the few hundred subsites.


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
  4. Well there's your problem. (said in her best Hyneman voice)


    Your .htaccess is the one for single site. You need to pick the one for MultiSite Subdomains.

  5. davegregg
    Posted 4 years ago #

    Thanks! That worked instantly. Now onto using SharDB to make WP use multiple databases! THANK YOU!

Topic Closed

This topic has been closed to new replies.

About this Topic