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.
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.
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 download large theme files or WordPress Plugin.
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.
That 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 “Manually install a WordPress Plugin using FTP".
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern appearance and to optimize the handling 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 WordPress form builder with multiple options to help you create beautiful forms in minutes. You can create a Contact form fully functional in no time, and without writing a single line of code.
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 | Demo | Web 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.
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.
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.
- How to present and share PDFs on WordPress?
- How to find the login URL of your WordPress blog
- How to manage and restore a version of WordPress with VersionPress
- How to add infinite scrolling to a WordPress blog
Conclusion
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.
...