Search

How to Repair the 413 Demand Entity Too large Error in WordPress

WordPress hosting business have their servers set up, so that WordPress users can< a href= http://www.wpbeginner.com/beginners-guide/how-to-upload-large-images-in-wordpress/ title=" Ways to Upload Big Images in WordPress" > quickly submit big images and other media. Nevertheless, sometimes this setting is low enough to

submit large theme or plugin files. It would also stop you from publishing big files in

media library. Because case, you will see a different message, plainly stating that the file size surpasses optimum permitted limit. That being stated, let’s have a look at how to repair the WordPress 413 demand

entity too big error. Repairing 413 Demand Entity Too Big Error in WordPress There are multiple methods to fix the demand entity too big mistake in WordPress. We will cover all these methods

, and you can attempt the one that works best for you. Approach 1. Increase Upload File Size Limitation by means of Functions File Just add the following code to your style’s< a href= http://www.wpbeginner.com/glossary/functions-php/ title=" Exactly what is functions.php File

in WordPress?” > functions.php file or a site-specific plugin

. @ini_set (' upload_max_size ', '64M');
@ini_set( 'post_max_size', '64M' );.

@ini_set (‘ max_execution_time’,’ 300′);. You can increase the worths in upload_max_size and post_max_size to be more than the file you are trying to submit. You will likewise need to increase the max_execution_time to the time you believe it would consider the file to submit. If you are unsure, then you can attempt doubling this value.

Method 2. Increase Upload File Size Limitation via.htacces Submit

For this technique, you will have to modify the.htaccess file and include the following code at the bottom:

php_value upload_max_filesize 64M.
php_value post_max_size 64M.
php_value max_execution_time 300.
php_value max_input_time 300.

To get more information about increasing file upload size limitation, see our guide on how to by hand upload WordPress files utilizing FTP. We hope this article assisted you discover ways to repairthe WordPress 413 demand entity too big error. You may also desire to see our list of the< a href =http://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/ title=" 25 The Majority Of Common WordPress Errors and How to Repair Them" > most typical WordPress errors and ways to fix them. If you liked this short article, then please subscribe to our< a href=" http://youtube.com/wpbeginner?sub_confirmation=1 "title=" WPBeginner on YouTube" target =_ blank rel= nofollow > YouTube Channel for WordPress video tutorials. You can also discover us on Twitter and< a href= https://www.facebook.com/wpbeginner title=" WPBeginner on Facebook" target= _ blank rel = nofollow > Facebook.

Source

http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-413-request-entity-too-large-error-in-wordpress/

Written by 

Related posts