why does WP store old site URLs and is it bad to “fix” them?
-
I have brought over two lone sites into multisite. One site was running directly from an http IP address and the other had its own domain name, referenced via https.
The site running from an IP somehow got a few subdomain references as part of the import process, and as a result, didn’t fully function after I changed it within WP to its new private domain name.
The site running from its own domain got a subdomain reference initially from the import process and despite this is running fine as far as I can tell despite about 50 references in the WP database to the now unused subdomain.
It seems to fix the former, I can summarily edit all URL references to make them https with the new domain name. But the fact that the second site doesn’t have every URL reference to the new domain name makes me wonder if there is any harm in updating every reference to swap the unused subdomain to the new URL with the private domain.
I guess what I am really asking is that when switching from a subdomain to a private domain, does the WP ever in any way need access to the site as its former self utilizing the subdomain URL? It certainly doesn’t on its own go back and update them when changing the site URL.
- The topic ‘why does WP store old site URLs and is it bad to “fix” them?’ is closed to new replies.