By: Suriyal
In this tutorial we will try to solve the issue (stuck at 100%) we face during the import in all-in-one wp migration plugin. If you are using free version of all in one wp migration plugin and also using Cloudflare then follow the following steps to avoid the importing issues like stuck at 100%.
Never share your credentials with unauthorized person or organization. Configuration files (e.g. – wp-config.php, .htaccess, etc.) are very sensitive and critical, to avoid misuse of these files always keep these securely and never share these type of files with anyone.
Check with your hosting provider to remove the file size limit if any. Also revalidate the requirement with your hosting provider so that they can make required changes for you.
You have two option to increase the file upload limit and other
Open the wp-config.php file and ensure that the following lines of code are there with your desired limit. I have given the size for demo purpose, edit these values as per your requirements.
I using cloud hosting with cPanel and following image is for your reference. Just click on the public_html folder and you will see the wp-config.php file there.
@ini_set( 'upload_max_filesize' , '512M' );
@ini_set( 'post_max_size', '512M');
@ini_set( 'memory_limit', '256M' );
@ini_set( 'max_execution_time', '300' );
@ini_set( 'max_input_time', '300' );
You can do the same using .htaccess file. Just click on the public_html folder and you will see the .htaccess file there.
Enter the following code in your .htaccess file and save. Edit the following code as per your requirement because the value mentioned here are for demo purpose and will be different for every use case
php_value upload_max_filesize 428M
php_value post_max_size 428M
php_value memory_limit 456M
php_value max_execution_time 300
php_value max_input_time 300
We will perform the following actions in Cloudflare so that we can use import functionality of all-in-one wp migration plugin.
2. Click on DNS
3. Switch off proxy for CNAME record as shown in the following images.
4. Switch off proxy for A record record as shown in the following images.
Login in the control / admin panel of your WordPress website or refresh the page if already logged in. Perform the following actions
1. Click on All-in-one wp migration and select import. I am using free version of wp-migration for this demo so I am select FILE option to import my file.
2. As you can see in the following screen the import is working fine now.
2. Click on proceed button to process the import
The following is the final screen after successful import. Just click on the finish and validate your data of your websites.
There are many other use cases where import in all-in-one wp migration can stuck like this. This tutorial is particularly handling the issue that is because of Cloudflare. If you have any question around this write in the comments.
Thank you for reading this tutorial. Have a great learning experience !
Leave a Reply