Do you see the 413 error quite often on your WordPress blog?

This error usually occurs when you try to upload a theme or plugin to WordPress.

In this tutorial, we are going to show you how to easily resolve error 413: “Request Entity Too Large” on WordPress.

But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

Then back to why we are here.


How to fix the 413 error on wordpress e1568291807761

What causes the 413 error on WordPress?

This error usually occurs when you try to download a file that exceeds the maximum file download limit on your WordPress website.

Your web server will fail to download the file, and you will see the 413 Request Entity Too Large error page.

413 query entity too large error example

Normally, most WordPress web hosting companies have their servers configured so that WordPress users can easily upload large images and other media.

However, sometimes this setting is not high enough to upload large WordPress theme or plugin files.

It would also prevent you from uploading large files to the media library. In this case, you will see a different message, clearly indicating that the file size exceeds the maximum allowed limit.

How to fix the 413 error on WordpressThat being said, let's take a look at how to fix the WordPress error 413 Request Entity Too Large.

Fix 413 Request Entity Too Large error on WordPress

There are several ways to fix the request entity too large error in WordPress. We'll cover all the methods ready to help you solve them, and you can try the one that's right for you.

1 method. Increase la overdrive de the file size to download in the functions.php file

Just add the following code to the file functions.php your theme or a website specific plugin.

@ini_set ('upload_max_size', '64M'); @ini_set ('post_max_size', '64M'); @ini_set ('max_execution_time', '300');

You can increase the values ​​of upload_max_size and post_max_size to be more than the file you are trying to upload. You will also need to increase the max_execution_time parameter when you think the file download is needed.

Discover How to manage WordPress files and folders

If you are not sure, you can try doubling this value.

2 method. Increase the size limit of the file to download in the .htacces file

For this method, you must edit the file .htaccess 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

To learn more about increasing the upload file size limit, check out our guide on how to increase the maximum file upload size in WordPress.

3 method. Manually download the file via FTP

If the 413 error only occurs when you upload a particular file, you may want to consider uploading the file manually via FTP.

If you're trying to download a plugin, then check out our guide how to install a WordPress plugin and proceed to the section "Manually Install a WordPress Plugin Using FTP".

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. FCP Form Builder

FCP Form Builder is a form builder on WordPress, with several options to help you create beautiful forms in minutes. You will be able to create a fully functional contact form in no time, and without writing a single line of code.Fcp form builder wordpress plugin for forms

This plugin allows you to have full control over form options, as well as form submissions from the WordPress dashboard. You won't have to worry about email notification issues anymore, as the form editor stores the submitted data in your database and displays it in your dashboard for viewing at any time.

You can also export the submitted data to a CSV file from your dashboard and use it in Excel for further analysis.

Download | DemoWeb hosting

2. Awesome Gallery

The Awesome Gallery plugin has been designed to help you create beautiful galleries using images taken from various sources, like posts, attachments, pages, custom post types including WooCommerce products, Flickr, Instagram, Facebook, and even RSS feeds.

Awesome Gallery - Instagram Flickr Facebook galleries on your site.jpg

Its main features include: an ieasy-to-use dashboard interfaceno coding skills required, 3 types of layout, 7 image sources, 10 preset styles, unlimited colors and many more options including support for custom CSS, a look really flexible and a lot more.

Download | Demo | Web hosting

3. Go Portfolio

This plugin is the ideal solution to create portfolios, showcases or teasers. You can create new types of custom publications or use your existing publications, customize the types of publications or products.Go portfolio wordpress responsive portfolio

If you want to create a portfolio or you are looking for a complete portfolio management solution, then this tool is for you. Go Portfolio is not only very easy to use, but also very fast to create impressive portfolios and integrate them into your WordPress website using the control panel of the latter. 

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.


Here! That's all. We hope this article has helped you learn how to fix the 413 error on WordPress. Feel free to share this tutorial with your friends on your favorite social networks

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

If you have suggestions or remarks, leave them in our section Comments.