Hi,
I changed my domain name from a development subdomain (dev2.mysite.com) to my main domain. I did a mysql export, changed all references to dev2.mysite.com to www.mysite.com and after an import all content is there – the only thing is that it is no longer in pagebuilder, but directly in the content field – which messes up the layout in an enormous way.
Is there any way this can be reversed? Is there file somewhere where this is stored and where I can simple change a setting? Because it is the same website, I merely changed the name of the folder (and did the database thing of course).
Only today I read about the problem regarding import export with page builder, otherwise I would have done it all different :-)
The thing is: I’m looking at the database and the only thing I can see is that all the data is there in the postmeta table, pointing to the right post. So I am wondering what I am missing? I’m looking for a switch I can turn, or a search and replace or some grep thing I can do.
Ok I solved it using the hack from ‘Mike’ (you might remember – note that the line numbers have changed a bit in WP 4) – And I already tested that opening and saving all my posts brings everything back to normal, which means that I can then remove the hack after I am done. :-)
Hi yurigoul
Glad you managed to resolve. Thanks for sharing your solution with everyone.
All the best.
And thank you for a wonderful plugin!
For sure. We appreciate your support.
Hi yurigoul,
I´ve got the same Problem – and I´m glad there is a solution…
But what is this “Hack from Mike”? Is there a Link?
Thanks :)
Here:
Thread: Migration from local to server
(Note that the linenumbers have changed)
Before doing it make a backup of functions.php
If your site looks the way it was before after the change, then open and save your posts and pages. It might be that you have to make a change, like adding a space somewhere or to copy widgets to a new container and back to make it really register that it is a save.
Then undo the change in the functions.php with the backup. Everything should still be ok.