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

April 1, 2019 313 views
Nginx WordPress Ubuntu 18.04

Hello, I have a wordpress multisite installation, and I need to remove the multisite, and keeps just the site ID 5 ( in the main address ( So I follow this tutorial to remove wordpress multisite installation:, after that I dropped wp tables post, terms, termtaxonomy etc, and changed the tables wp5_ 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.


1 Answer

I think I have 2 options:

  1. do a stand alone installation ( in, 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?

Have another answer? Share your knowledge.

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