Widgets missing after move to new domain
-
I developed a Multisite site on the live server at xx.xx.xx.xx/~site prior to delegating the domain name to the server.
The site is ready to go live, so I did a database backup with myphpadmin.
Using a copy of the sql file, I did a search and replace on xx.xx.xx.xx/~site and replaced it with site.com
Because multisite was enabled, I also did a search and replace on just the ip ‘xx.xx.xx.xx’ and replaced with ‘site.com’
Now the site has 4 sidebars set up in the widgets screen, two to control left and right sidebars on the home page, two to control left and right sidebars on the inside pages.
The widgets just contained some html code referencing various images and links. The point is that the links and urls referenced the x.xx.xx.xx/~site address, not the new path.
Now when I bring up the site the sidebars are missing. In the widgets screen (logged in as super admin) each of the sidebars are there but the widgets under each of them are missing.
Could the changes to urls etc made in editing the sql file that was imported into mysql have affected the registration of these widgets. Where woyud I check.
Fortunatelt I have a backup of the database so I could revert to the original setup, copy and paste the widget code, migrate back and set the mising widgets up manually.
That is the longer process – any way to do it quicker.
The site otherwise seems fine, though I haven’t been through it all yet. This seems to be the most urgent issue to fix.
Thanks.
- The topic ‘Widgets missing after move to new domain’ is closed to new replies.