This error usually occurs when you are trying to upload a theme or plugin file in WordPress and the request body is larger than the server is configured to allow. Here we will discuss the main cause of this error and the 5 methods to fix this error completely.
Methods to resolve this occurrence
Increase Upload File Size Limit Using Functions file
Add this code into your theme’s function.php or a site specific plugin.
@ini_set(‘upload_max_size’,’64M’);
@ini_set(‘post_max_size’,’64M’);
@ini_set(‘max_execution_time’,’300’);
Increase Upload File Size Limit via .htaccess File
Increase the values in uploading_max_size and post_max_size for those files that you are trying to upload. Also, you can increase the max_execution_time for the file to upload. If you are unassertive, then you can try doubling this value.
In this method, you can alter the .htaccess file by adding the following code given below:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Read More: Quick Fix: 413 Request Entity Too large Error in WordPress
You can talk to our WordPress Technical Support team in case of any help related to WordPress, dial + 1 844 897 0441(Toll-Free
List all items from this seller
Useful information
- Avoid scams by acting locally or paying with PayPal
- Never pay with Western Union, Moneygram or other anonymous payment services
- Don't buy or sell outside of your country. Don't accept cashier cheques from outside your country
- This site is never involved in any transaction, and does not handle payments, shipping, guarantee transactions, provide escrow services, or offer "buyer protection" or "seller certification"