This error occurs generally when a user tries to upload a large size file and media in the WordPress. Then in response, the web server sends you an error that the entity exceeds the maximum upload limit. In the case of uploading a large size theme and plugins. This setting does not work and create an error “413 Request Entity Too large”.
You can fix error “413 Request Entity Too large” By Increasing Upload File Size with .htaccess File
Step::1 Login to your cPanel account and open File Manager section.
Step::2 Next, in File Manager, your website’s folders should be under the folder named ‘public_html’.
Step::3 You should see a file named ‘.htaccess’ here. If you don’t, you can use the search bar on the top-right of the screen to look for it.
Step::4 If your website has a .htaccess file but you can’t see it, visit Settings tab and click on ‘show hidden files.’
Step::5 Open the .htaccess file by right-clicking and choosing ‘Edit’.
Step::6 To Increase Upload File Size and fix 413 Request Entity Too Large Error in WordPress, paste the following code to this file:
php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300
Step::7 Click on Save Changes tab and close the file.