Introduction
The upload_max_filesize is a server setting that defines the maximum size of a single file that can be uploaded to your WordPress site. If you are importing large product files (common with dropshipping plugins like VidaXL or BigBuy), you might run into a limit where the file is simply too large for the server to process.
Problem / FAQ
"Why is my file not uploading during an import?"
"I get an error saying the file exceeds the upload_max_filesize directive."
"How do I check my current limit?" You can check this by going to Media > Add New in WordPress; the maximum size will be displayed right below the 'Select Files' button.
How to solve
There are several ways to increase this limit. Note that these changes are made at the server level via FTP:
Modify .htaccess: Locate the
.htaccessfile in your WordPress root folder and add the following line:php_value upload_max_filesize 64MModify php.ini: If your server uses a
php.inifile (found in the root folder), add or edit this line:upload_max_filesize = 64MModify wp-config.php: Add the following code to your
wp-config.phpfile:@ini_set( 'upload_max_size' , '100M' );Modify functions.php: Alternatively, you can add this to your theme's
functions.phpfile:@ini_set( 'upload_max_size', '64M');
Important: Many hosting providers restrict these changes for security or performance reasons. If these steps do not work, please contact your hosting provider and ask them to increase the upload_max_filesize for you.
Canβt figure it out? You can always send a message to the support team via the chat bubble at the bottom right π Support to the rescue π¨βπ» π©βπ»
