Posts: 23
Threads: 6
Joined: Nov 2016
hi
is it possible to migrate to a different directory on my server, before redirecting my domain to that other directory?
thx!
Posts: 6,266
Threads: 181
Joined: Sep 2011
see notes about migration and migration tools in the forum, your links and images in content are all hard coded so a script had to be ran to fix it up.
Posts: 23
Threads: 6
Joined: Nov 2016
thx, but what images and content?
i did the migration before redirecting the domain, went flawlessly.
i disabled pretty urls before migrating, and then re-enabled after-- not sure if that's necessary.
thx!
Posts: 6,266
Threads: 181
Joined: Sep 2011
in your pages they are hardcoded to full domain and path
Posts: 23
Threads: 6
Joined: Nov 2016
(2016-11-12, 23:39:39)shawn_a Wrote: see notes about migration and migration tools in the forum, your links and images in content are all hard coded so a script had to be ran to fix it up.
hrm, i just deleted the files where the domain used to point.
Now, some images are missing on the new site.
ie, there are links pointing images in the old folder
i installed
GSCkeRelativeUrls, but that did not fix it.
is your manual search-and-replace the only fix?
thx!
Posts: 3,491
Threads: 106
Joined: Mar 2010
Posts: 3,491
Threads: 106
Joined: Mar 2010
Posts: 3,491
Threads: 106
Joined: Mar 2010
Note that "Fix Site URL" and other plugins do the replacements AFTER migrating (sorry, I read the thread subject too quickly)
Posts: 6,266
Threads: 181
Joined: Sep 2011
if you have a text editor with a find and replace in files
replace all old url with new url in pages\ folder .xml files