Archived topic
Sections disappeard after publishing with MAMP Pro
7 replies · Started by stheobald on January 25, 2019
Hi there,
I developed my current web project using MAMP Pro and now I tested the new publish function. Worked pretty fine, everything is migrated. But my Section within a page are disappeard.
Does anybody have a solution for this?
Thanks and best regards from Germany
Hi there,
How did you migrate the site? Sections are serialized in the database, so if you did a mass search/replace of your URL in the database, it can mess them up.
Let me know :)
Hi Tom,
I migrated the site via MAMP Pro "Publish" function. I guess there is a mass search/replace included. Is there a way to fix it? And whats the correct way to move GP sites with sections?
Thanks
Personally, I would use something like Duplicator: https://wordpress.org/plugins/duplicator/
It does a search/replace for you without breaking serialization.
Hi Tom,
Can I manually fix the serialization in the published site?
I don't believe so, no. Sometimes a search/replace will mess up the GUID values in the database, which I don't believe are configurable. You'll likely need to re-do the process with a plugin like Duplicator.
Okay, thanks. I will do that! Thank you for your fast support!
No problem :)