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  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

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 Check My Hosting Limits

To check your hosting limits, follow these steps: First, log in to the hosting control panel. Then, via the dashboard, head to Hosting Settings:   After that, click the Hosting Limits tab:   Then, you will access the information about your account's hosting...

How to Access the Security Settings of My Domains

Accessing the security settings of your hosted domains is easy with AwardSpace. You can access the settings in just a few minutes by following the steps below. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager page by clicking the...

How to Access The Name Servers Settings of My Domain

Accessing the name server settings with AwardSpace is quite simple. Just follow the next steps. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   After that, locate the domain whose Name Server settings you wish to access and click...



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 Check My Hosting Limits

To check your hosting limits, follow these steps: First, log in to the hosting control panel. Then, via the dashboard, head to Hosting Settings:   After that, click the Hosting Limits tab:   Then, you will access the information about your account's hosting...

How to Access the Security Settings of My Domains

Accessing the security settings of your hosted domains is easy with AwardSpace. You can access the settings in just a few minutes by following the steps below. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager page by clicking the...

How to Access The Name Servers Settings of My Domain

Accessing the name server settings with AwardSpace is quite simple. Just follow the next steps. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   After that, locate the domain whose Name Server settings you wish to access and click...

How to Access the DNS Settings of My Domains

Accessing the DNS settings of your domains is easy with AwardSpace. The process is comprised of a few simple steps and requires only a minute or two of your time. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager:   After that,...

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.