If you have recently installed the free version of the Wordpress plugin called “All-in-one WP Migration”, used for doing backups and migrations, you have probably came across with the maximum upload size of 16MB, which is very restrictive when you have to migrate a website with many media, users, posts, pages and plugins. So, here is how you can modify this limit without having to pay for it:
- Enter in the root directory of your Wordpress installation
(that with the
- Open the file
.htaccess(create if it does not exist);
- Add to it (it can be at the beginning) the following lines:
php_value upload_max_filesize 512M php_value post_max_size 512M php_value max_execution_time 300 php_value max_input_time 300
- Save the
- Check that your maximum upload file has increased to 512MB.
Of course, you can change any value for 512MB in the lines above, if you need to upload larger files.