Moving wordpress to a new domain AND host
-
So, I’m doing a WP site for a friend. I’m doing it on my server, using a test URL (subdomain on my server EX: test.site.com).
In a few weeks, I’ll need to get this onto my friends server, using his domain name.
REVIEW: Need to move from server1 & domain1 to server2 & domain2.
I am a little worried about the media particularly. I have uploaded (and still am uploading) all the media needed for the site using the media upload in WP-admin. Links to the files contain an absolute URL path though (EX: https://www.site.com/media/media.png)…. won’t this cause an issue when I migrate to the new server which contains a new URL? Would it be better (or even possible) to use a relative URL path (EX: …/media/media.png)? That way it wouldn’t matter the site’s name?
Or is there an easier way? I have never moved a WP site to a new server and new URL before. I’ll take any and all advice. I assume after years of development, there MUST be an easy way to do this that I’m overlooking.
Thanks in advance!
- The topic ‘Moving wordpress to a new domain AND host’ is closed to new replies.