How to Increase Maximum Upload File Size in WordPress

The upload limit you see in All-in-One WP Migration is not set by the plugin.
It comes from your hosting provider’s server configuration. The plugin reads your server’s settings and displays them.

Quick fix

The fastest way to resolve this is with our Unlimited Extension. It bypasses all server upload restrictions automatically. No configuration needed, no technical knowledge required. One license covers up to 50 sites for $69/year.

Get the Unlimited Extension

Do it yourself

If you prefer to fix this manually, you need to increase your server’s PHP upload settings. Follow the method that matches your hosting setup.

1

Edit .htaccess (Apache servers)

Add these lines to the .htaccess file in your WordPress root directory:

php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
2

Edit .user.ini (LiteSpeed, Nginx, or when .htaccess does not work)

Create or edit a .user.ini file in your WordPress root directory:

upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 256M
max_execution_time = 300
max_input_time = 300
3

Edit wp-config.php

Add these lines before “That’s all, stop editing!”:

@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' );
4

Hosting control panel

Many hosting providers let you change PHP settings through their control panel:

  • cPanel: Software > Select PHP Version > Options
  • Plesk: PHP Settings for your domain
  • SiteGround: Site Tools > Devs > PHP Manager
  • Hostinger: Advanced > PHP Configuration
5

Contact your hosting provider

If none of the above methods work, contact your hosting provider and ask them to increase upload_max_filesize and post_max_size to 512M.

Changed PHP settings but still hitting a limit?

PHP settings are just one layer. Your upload can also be blocked by web server limits, firewall rules, CDN restrictions, or server security policies that you cannot see or change.

The Unlimited Extension works even in these cases because it transfers data in small chunks that stay under every restriction on your server.

For a detailed explanation of why this happens, see Why All-in-One WP Migration Shows an Upload Limit.