Sometimes you need to do some work quickly, and a manual WordPress migration is not known for being easy. This is where plugins like All-in-One WP Migration come in handy. However, at the moment there is a very small upload limit and if you are not in a position to pay for the upgrade or just don’t have the time there is a very quick hack you can do to increase the limit.
This experiment was exactly that, an experiment. I do not condone the misuse of any software and I believe in paying what is due. A lot of time and effort has gone into creating this fantastic and time saving plugin. Please consider supporting the developers properly and paying for the full version.
What is All-in-One WP Migration
Created by ServMask, All-in-One WP Migrations is a plugin that exports your WordPress website including the database, media files, plugins and themes with no technical knowledge required. Upload your site to a different location with a drag and drop into WordPress.Here is the plugin meta:
/**
* Plugin Name: All-in-One WP Migration
* Plugin URI: https://servmask.com/
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
* Author: ServMask
* Author URI: https://servmask.com/
* Version: 7.7
* Text Domain: all-in-one-wp-migration
* Domain Path: /languages
* Network: True
*
* Copyright (C) 2014-2019 ServMask Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
*/
Increasing the limit of All in One Wordpress Migrate
This was tested with two different versions: Last checked: 26 Sept 2019Prerequisite
You will need to be able to access and edit the .htaccess file that is found in the root directory of the WordPress installation.Your .htaccess file should look something like this:
RewriteEngine On
RewriteBase /client/greg/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /client/greg/index.php [L]
And what we need to add is the following, between the IfModule tags:
php_value upload_max_filesize 6000M
php_value post_max_size 6000M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
Your full .htaccess file should now look like so:
RewriteEngine On
RewriteBase /client/greg/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /client/greg/index.php [L]
php_value upload_max_filesize 6000M
php_value post_max_size 6000M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
And voila, Now head to the section of your WordPress admin and you should now see the limit has increased to 6GB.
All images (incl logo), trademarks and other copyright content remains the sole ownership of ServMask.I am not affiliated in anyway shape or form with ServMask and this guide is for tutorial and education purposes only.