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 Customize Menus in SuiteCRM

SuiteCRM grants you the option to customise your website menus and control what modules appear in them, how they are grouped and in what categories. This customisation can help you improve user workflow and reduce clutter, especially if you are working on a large...

How to Add Charts to the Sidebar in SuiteCRM

Àlthough SuiteCRM doesn't support adding charts directly to the sidebar, there is a simple method that you can use to achieve the effect. In this guide, we share how to do so.   How to Add Charts to the Sidebar in SuiteCRM The process is comprised of a few...

How to Add Subpanel Filters in SuiteCRM

SuiteCRM's subpanels can be very useful in various situations, such as showing related records (like contacts under an account). However, as your database grows, so does the scrolling time through unfiltered subpanels. Fortunately, you can add filters to subpanels, so...

How to Display Fields in Different Modes in SuiteCRM

SuiteCRM allows for various customisations of fields. Such are the Detail View, Edit View and List View. Understanding how to customise these is important for tailoring your SuiteCRM project to your preferences. Whether you are streaming data entries or are trying to...

How to Add Grouped Fields to the Record View in SuiteCRM

SuiteCRM offers great versatility when it comes to customising modules, including how fields are displayed on record views. One powerful feature is grouping fields within sections for better layout and user experience. In this article, we share how to group fields in...



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 Customize Menus in SuiteCRM

SuiteCRM grants you the option to customise your website menus and control what modules appear in them, how they are grouped and in what categories. This customisation can help you improve user workflow and reduce clutter, especially if you are working on a large...

How to Add Charts to the Sidebar in SuiteCRM

Àlthough SuiteCRM doesn't support adding charts directly to the sidebar, there is a simple method that you can use to achieve the effect. In this guide, we share how to do so.   How to Add Charts to the Sidebar in SuiteCRM The process is comprised of a few...

How to Add Subpanel Filters in SuiteCRM

SuiteCRM's subpanels can be very useful in various situations, such as showing related records (like contacts under an account). However, as your database grows, so does the scrolling time through unfiltered subpanels. Fortunately, you can add filters to subpanels, so...

How to Display Fields in Different Modes in SuiteCRM

SuiteCRM allows for various customisations of fields. Such are the Detail View, Edit View and List View. Understanding how to customise these is important for tailoring your SuiteCRM project to your preferences. Whether you are streaming data entries or are trying to...

How to Add Grouped Fields to the Record View in SuiteCRM

SuiteCRM offers great versatility when it comes to customising modules, including how fields are displayed on record views. One powerful feature is grouping fields within sections for better layout and user experience. In this article, we share how to group fields in...

How to Back Up Your SuiteCRM Project

Making regular backups of your SuiteCRM project is crucial. Backups help keep any kind of data safe, and also provide a quick recovery after a crash, hacking attack, or any user error. Because of how important backups are for your SuiteCRM website, in this article, we...

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.