Question

Removing a wordpress multisite installation and preserving the database before migrate to nginx

Hello, I have a wordpress multisite installation, and I need to remove the multisite, and keeps just the site ID 5 (leetdoc.com/br) in the main address (leetdoc.com). So I follow this tutorial to remove wordpress multisite installation: premium.wpmudev.org/blog/uninstall-multisite/, after that I dropped wp tables post, terms, term_taxonomy etc, and changed the tables wp_5_ to wp_. My site became extremely slow to open pages, his aesthetic was greatly affected, images did not load, so I was informed about the serialized data in the database, and that I should not change the database manually.

I do not intend to migrate the multisite to nginx, just a single website (ID 5), so what is the best option to preserve my data?

p.s.: I’m disregarding the option of buying a plugin to do this, and learning to do at hand.

Daniel


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I think I have 2 options:

  1. do a stand alone installation (leetdoc.com/br in leetdoc.com, and after redirect .com to .com/br), and stay with a single website.

  2. change the database tables from site ID 5 to the main site tables database (I mean keeps just one database working perfectly), and migrate a single website.

Which do you recommend, and can you provide references on how to do this?