How to Self-Migrate All Your Websites from ManageWP to WP Umbrella

We understand that migrating numerous websites can be a daunting task for businesses of all sizes. Fortunately, we've developed an incredibly straightforward solution. With just a few quick steps, you can transfer all your websites from ManageWP to WP Umbrella in mere minutes.

Prerequisites:

  • An active, full WP Umbrella account (Note: Trial accounts will need an upgrade)
  • Access to your ManageWP account

Step 1: Whitelist our IP addresses

Before initiating the migration, we recommend whitelisting our IP addresses. This step is optional but highly advised to prevent potential future issues.

  • IPv4: 141.95.192.2
  • IPv6: 2001:41d0:306:1702::/64

Where should you whitelist our IPs?

  • In any security plugins you use, like WordFence.
  • With your hosting provider, particularly if they use a firewall for IP management.
  • If you’re utilizing a CDN service like Cloudflare.

For detailed guidance, check out this documentation article on IP whitelisting.

Step 2: Bulk Install WP Umbrella via ManageWP

Utilize ManageWP's bulk add plugin feature to install and activate the WP Umbrella plugin from the WordPress.org repository across all your sites.

Step 3: Select all your websites and use the code snippet feature in ManageWP.

Select all your websites and get ready to execute a simple code snippet.

Step 4: Run the Code Snippet Across All your Websites

Copy and paste the following code into ManageWP's code snippet feature:

Remember: Replace 'YOUR_API_KEY' with your actual WP Umbrella API key.

Run this script only once to avoid delays due to ManageWP's WordPress crons

<?php

$plugin_directory = 'wp-health';
$file_name = 'wp-health.php';

$file_path = plugin_dir_path(__FILE__) . '../' . $plugin_directory . '/' . $file_name;
if(!file_exists($file_path) && defined('WP_PLUGIN_DIR')){
	$file_path = WP_PLUGIN_DIR . '/' . $plugin_directory . '/' . $file_name;
}

try{
	if (file_exists($file_path)) {
		$file_contents = file($file_path);

		$new_instructions = "
			if(!defined('WP_UMBRELLA_AUTO_INSTALL_WITH_CONSTANT')){
				define('WP_UMBRELLA_AUTO_INSTALL_WITH_CONSTANT', true);
			}\n";

		$new_instructions .= "
			if(!defined('WP_UMBRELLA_API_KEY')){
				define('WP_UMBRELLA_API_KEY', 'API_KEY');
			}\n";

		array_splice($file_contents, 40, 0, $new_instructions);

		file_put_contents($file_path, implode("", $file_contents));

		echo "Instructions successfully added " . $file_name . "\n\n";
	} else {
		echo "Error: File " . $file_name . " does not exist";
	}
}
catch (\Exception $e){
	echo "Error: " . $e->getMessage();
}

Once the migration is complete, let me know and we'll schedule and review your first set of backup.

Need Help With Migration?

We're excited to offer a free migration service for all your websites from ManageWP or any other competitor, including tag and client transfers.

You just need to fill out this migration form and we will come back to you!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us