davegregg
Member
Posted 8 months 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/
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?
davegregg
Member
Posted 8 months ago #
Yes, that's one of the few hundred subsites.
----CONTENTS OF .HTACCESS FILE----
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Well there's your problem. (said in her best Hyneman voice)
http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite
Your .htaccess is the one for single site. You need to pick the one for MultiSite Subdomains.
davegregg
Member
Posted 8 months ago #
Thanks! That worked instantly. Now onto using SharDB to make WP use multiple databases! THANK YOU!