I'm helping my wife migrate a WordPress site for an organization that she is a part of. When we exported the database, I ran a
sed command in bash to convert instances of
//previousDomain/path to just
/path, and this has seemed to mostly work.
However, whenever we edit a page that has a root-relative link, the link is appended with a domain name, that we believe is related to some previous hosting in the past, but is neither a valid domain anymore, nor is present anywhere in our database files (excepting for the pages we have edited) or the php code itself. (The change is from
It smells like this might have something to do with JetPack, but we cannot find any toggle or field to prevent this from happening, and, as far as we can tell, certain content settings are contingent on JetPack. However, we do not know for certain if this is the case.