How to Fix the 413 Request Entity Too large Error in WordPress
If you face the 413 Request entity too large error in WordPress then you can follow the given article in below. This error usually occurs when you are trying to upload a theme or plugin file in WordPress.Now, we will show you how to easily fix the 413 request entity too large error in WordPress.
What causes WordPress 413 Request Entity Too Large Error?
The main cause of this error is when you are trying to upload a file that exceeds the minimum file upload limit on your WordPress site.
In that case, your web server will fail to upload a file and you will see the 413 request entity too large error page.
We know that most WordPress hosting companies have their servers configured. For that reason, WordPress users can easily upload large images and other media.
All that time ,this setting is not high enough to upload large theme or plugin files.
It would also stop you from uploading large files in the media library.In that case, you will see a different message which is starting clearly because of the file size exceeds the maximum allowed limit.
Lets take a look at how to fix the WordPress 413 request entity too large error
Fixing 413 Request Entity Too large Error in WordPress
There are different ways to fix the request entity too large in WordPress.We will show you all of them that you can try the one that works best for you.
Method 1. Increase Upload File Size Limit via Functions File
@ini_set( 'upload_max_size' , '64M' ); @ini_set( 'post_max_size', '64M'); @ini_set( 'max_execution_time', '300' );
You can increase the values in upload_max_size and post_max_size to be more than the file you can trying to upload. You will also need to increase the max_execution_time to the time you think you it would take you for the file to upload.If you are not sure then you can try doubling this value.
Method 2. Increase Upload File Size Limit via .htacces File
For this method, you will need to edit the .htaccess file and add 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
Method 3. Manually Upload File via FTP
If the 413 error only occurs your uploading one particular file then you may want to consider uploading the file manually via FTP.
We think,this article will help you to fix the 413 Request Entity Too Large Error in WordPress.
Preview may take a few seconds to load.
Below you will find some common used markdown syntax. For a deeper dive in Markdown check out this Cheat Sheet
Bold & Italic
Bold **double asterisks**
Three back ticks and then enter your code blocks here.
# This is a Heading 1
## This is a Heading 2
### This is a Heading 3
> type a greater than sign and start typing your quote.
You can add links by adding text inside of  and the link inside of (), like so:
To add a numbered list you can simply start with a number and a ., like so:
1. The first item in my list
For an unordered list, you can add a dash -, like so:
- The start of my list
You can add images by selecting the image icon, which will upload and add an image to the editor, or you can manually add the image by adding an exclamation !, followed by the alt text inside of , and the image URL inside of (), like so:
To add a divider you can add three dashes or three asterisks:
--- or ***