Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134322

cheezitman on "Migrated WordPress to a new Domain, Media Library Links are broken"

$
0
0

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.

  1. I moved the files with rsync,
  2. dumped and imported the database
  3. and ran searchreplacedb2.php to change the domain name on the site.
  4. lastly I modified wp-config to change the URL and modified my and the server's host files so I can test it internally.
  5. 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.


Viewing all articles
Browse latest Browse all 134322

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>