Thursday, November 5, 2026

Convert WordPress Multisite to a Single Web site (Kadence)

-


When a WordPress multisite community has extra websites in it than you want, you possibly can select to separate any variety of these websites out and provides them WordPress installations of their very own. WordPress has no built-in device for this, as a result of a community retains each web site’s content material in its personal set of database tables and each web site’s photos in its personal folder, all inside one shared set up. Changing a WordPress multisite to a single web site means copying the proper items right into a recent set up, renaming them so the brand new web site can discover them, and turning off the settings that made it a community. The steps under assume the location you’re shifting, runs on the Kadence theme, although every part besides the design checks works the identical means on any WordPress theme.

Earlier than you begin the conversion

Earlier than you begin the conversion, again up the entire community and arrange a duplicate of it to follow on. Elements of this job contact items of the database that each web site within the community shares, so a mistake can have an effect on websites you weren’t shifting, and working it by way of as soon as on a duplicate reveals you what to anticipate.

4 issues to have prepared:

  • A full backup of each file and the entire database, protecting the community not solely your web site.
  • A staging copy of that backup to do the work on.
  • Your web site’s ID quantity, listed subsequent to it in Community Admin > Websites. Nearly every part you might want to discover is called after this quantity.
  • An inventory of which plugins had been switched on for the entire community and which had been switched on on your web site alone. The community ones is not going to come throughout and want putting in once more.

Export your Kadence settings on their very own as nicely. With the Kadence Starter Templates plugin lively, go to Look > Customise > Import/Export and obtain the .dat file, which you’ll be able to load straight again in if the design doesn’t survive the transfer.

What belongs to your web site

What belongs to your web site is every part named after that ID quantity. In case your web site is quantity 4, its database tables are known as wp_4_posts, wp_4_options and so forth, and its photos sit in a folder known as wp-content/uploads/websites/4/.

The primary web site of a community works in a different way. It’s no 1, its tables haven’t any quantity in them, its permission entries don’t have a quantity both, and its photos are already in wp-content/uploads/. 

Some issues keep behind. Three tables known as wp_blogs, wp_site and wp_sitemeta exist solely to run the community, and a single web site has no use for them. Accounts are the opposite means round, as a result of everybody with a login wherever on the community is saved collectively in wp_users and wp_usermeta, so you are taking solely the individuals who had entry to your web site.

Transfer your web site into a brand new WordPress set up

Shifting your web site into a brand new WordPress set up is extra dependable than stripping the community out of the set up you have already got, since you begin from a duplicate of WordPress you already know is working. Set up WordPress, then set up the Kadence theme and every of your plugins from their very own sources earlier than you import something. Downloading recent copies avoids bringing throughout recordsdata that had been modified or left old-fashioned, and having the theme in place first offers your imported design settings one thing to connect to when the database arrives.

Then transfer the location itself:

  1. Export your web site’s tables from the community database.
  2. Rename every one, altering the wp_4_ initially to wp_.
  3. Delete the default tables within the new set up, then import your renamed ones.
  4. Copy the contents of wp-content/uploads/websites/4/ into wp-content/uploads/ on the brand new web site.
  5. Change the outdated internet tackle to the brand new one in all places it seems within the database, utilizing WP-CLI’s search-replace command or a WordPress plugin constructed for this. Theme settings and widget layouts are saved in a format that an abnormal discover and substitute will harm.
  6. Within the wp_usermeta desk, rename the entries known as wp_4_capabilities and wp_4_user_level to wp_capabilities and wp_user_level.

Skipping the final step locks you out of your individual web site. WordPress data what every individual is allowed to do individually for each web site in a community and places the location quantity within the title, so if these names hold the quantity, your new web site has no administrator.

Flip off the community settings

Turning off the community settings is what stops WordPress behaving like a community. Till you do it, WordPress retains loading its multisite code and sending internet addresses by way of the community’s routing guidelines, and people directions sit in two recordsdata.

In wp-config.php, delete or remark out

MULTISITE, SUBDOMAIN_INSTALL, DOMAIN_CURRENT_SITE, PATH_CURRENT_SITE, SITE_ID_CURRENT_SITE, BLOG_ID_CURRENT_SITE and WP_ALLOW_MULTISITE. 

That final one is what switched the community on initially, so it goes with the others.

In .htaccess, delete every part between the traces marked # BEGIN WordPress and # END WordPress. Then open Settings > Permalinks on the brand new web site and click on save, and WordPress writes the proper guidelines again in for you.

Examine the design and redirect the outdated addresses

Checking the design and redirecting the outdated addresses is the final step. Open the Kadence Customizer and take a look at your coloration palette, your fonts, and the header and footer. If the location hundreds with no styling in any respect, import the .dat file you saved initially.

Then set your web site tackle below Settings > Normal, and put 301 redirects in place sending every outdated tackle to the one which replaces it. That is necessary, as a result of in the event you level every part on the homepage as an alternative you’ll lose the search worth every web page had constructed up previous to the conversion. Depart the outdated web site working till you may have clicked by way of the brand new one and checked that the pictures load.

Ceaselessly requested questions

The place to start out

Begin by discovering your web site’s ID quantity in Community Admin > Websites, then construct a staging copy of the community and run the entire conversion on that earlier than you contact the dwell one.

While you’re shifting a web site out of a multisite community, it helps to have a protected place to check modifications earlier than going dwell. With Liquid Internet’s Managed WordPress Internet hosting, you get staging environments, direct database entry, and automated backups, so you possibly can deal with even complicated migrations with confidence.



Source_link

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Stories