How to Fix 413 Error Request Entity Too Large

Home » Knowledge Base » Hosting Basics » How to Fix 413 Error Request Entity Too Large

If you use WordPress to create your website, it is likely that you can stumble upon 413 Error Request Entity Too Large. This is a very specific error message that can stunt your workflow and progress. If you see such an error message on your website and search for ways of fixing it, then keep reading, as in this article you will understand what is 413 Error Request Entity Too Large and what you can do to fix it.  

 

What is 413 Error Request Entity Too Large

413 Error is an HTTP status code indicating that the client tries to upload a file to the requested web server that exceeds the set upload size limit. HTTP Error 413 is typical for WordPress-based websites and oftentimes appears when the client is using the CMS’s Media Library:

413 Error WordPress Media Library Message

 

&nbsp 413 Error is a part of the 4xx status codes. In indicates that there is a problem in the communication between a server and a client. More specifically, that the issue is rooted somewhere on the client side. Similar status codes include:

 

 

How to Fix 413 Error Request Entity Too Large

There are two methods you can apply to fix the issue and upload your file to WordPress without encountering 413 Error.

 

Method 1: Modify the PHP.ini File

PHP.ini is a configuration file that controls different variables on the web server such as maximum upload file size, resource limits, time to execute PHP scripts, and others. You can modify this file’s script, so it increases the maximum upload file size limit and therefore enables the upload of large files. If you are using the AwardSpace hosting service, here’s how to do so: Log in to your hosting panel and head to Hosting Tools->PHP Settings:

413 Error Hosting Panel PHP Settings  
Once you open the PHP Settings page, click on the Configure php.ini tab:
413 Error Hosting Panel Configure PHP File  
Once you click the Configure php.ini tab, you will be able to modify the PHP script:
413 Error PHP.ini File
  Once you find this PHP snippet, change the variable to an amount larger than the file size you want to upload: 413 Error PHP.ini FIle Change Snippet  

 

Once you make the changes, click on Save, so the system applies and saves the changes you just made:

413 Error PHP.ini FIle Save Changes

 

  Now you should be able to upload your file without encountering a 413 Error.

Via the PHP.ini file, you can also edit other variables related to the upload size limit:

 

  • max_execution_time – this variable determines the maximum time to upload, measured in seconds.
  • post_max_size – this variable determines the maximum post size, measured in megabytes.

 

 

Method 2: Use FTP Protocol

A second convenient method to upload large files to your WordPress website is to use an FTP client. FTP is an abbreviation for File Transfer Protocol. It makes transferring files between devices simple and intuitive. By using FTP you can upload very large files to WordPress and the only limit would be the one that comes from your hosting plan. Here are some resources that can get you started on using FTP for your WordPress website:

 

Conclusion

413 Error is an HTTP status code informing users that a file exceeds the set server file upload size limits and therefore can’t be uploaded. This error is typical for WordPress websites and most commonly can be seen when a client is using the built-in WordPress Media Library to upload such large files.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.