You may encounter the ‘413 Request Entity Too Large’ error while uploading a theme, plugins, or other media files on the webserver. Whenever you face this error, it indicates that the server doesn’t accept the file due to its large size.
All the web hosting organizations configure their server to a particular file uploading limit. Hence, if the server detects a larger file, it starts displaying this error constantly.
In this guide, you will know some effective hacks to troubleshoot this error in a few minutes. So, you are recommended to take a look at the fixes discussed below before beginning the troubleshooting.
There are a few ways through which you can get rid of this error. So, you can try the hacks described below if want to know how to fix request entity too large message:
You can solve the ‘413 request entity too large’ error easily by modifying the ‘functions.php’ file. Hence, locate the functions.php file in the WordPress theme folder.
This file is used to define ‘actions’ and ‘classes’ on the WordPress site. Besides, it also adds functionality and features like navigation menus, post formats, enabling post thumbnails, etc.
Here are the steps you can perform to modify the functions.php file:
If you want, you can expand the upload_max_size from 64 MB to 128 MB. But, most of the time, 64 MB is enough. Also, remember that no theme or plugin can be larger than 64 MB.
Now, you can try to upload the theme again to check if the error is fixed. Else, you can go to the next solution provided below.
The “.htaccess” is another essential file in the WordPress site. It can help to redirect to HTTPS and fixes several common WordPress errors. Hence, edit this file to get rid of this specific error.
Now, you can check if the error is resolved.
These are the two most recommended ways to get rid of the ‘413 request entity too large’ error. Hence, make sure that you have entered the above-mentioned fixes correctly.
Both methods are foolproof and quite easy to implement. So, if you are a non-tech savvy person, try them when the request entity size exceeds the limit.
Furthermore, if you have any doubts or queries regarding this topic, share that in the comment section below.