Migrating to a new Server & URL
-
Hello,
Due to my new boss our sites are to be moved to a new server (yea!) and have the domain change (boo), the problem is a WordPress Mutlisite full of student ePortfolios.
I moved the files with rsync,
dumped and imported the database
and ran searchreplacedb2.php to change the domain name on the site.
lastly I modified wp-config to change the URL and modified my and the server’s host files so I can test it internally.The site seems to work, but all (and I mean ALL) the media links are broken. The files are there, I can edit them with FTP and the webserver has access to them, and I can upload new media, but existing links seem broken.
Any idea how I can fix this? Images I can see in the library if I go to edit them, but I can’t see them in attachment pages etc, I just get 404 messages.
I’m running the server on nginx with php-fpm, but the old server was using that as well.
If nothing else where can I find where WordPress keeps the location of media files?
- The topic ‘Migrating to a new Server & URL’ is closed to new replies.