How To Fix ‘413 Request Entity Too Large’ WordPress Error using .htaccess?

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.

Was this answer helpful?

Related Articles

How to display Related Pages in WordPress?

Step::1 Login to your WordPress admin dashboard Step::2 Go to Plugins and click on Add...

How To Force Logout All Users In WordPress At Once?

How To Force Logout All Users In WordPress At Once? Step::1 Let’s start by logging into the...

How to Add Google Analytics to your WordPress website?

In this article, we will share how you can easily install Google Analytics in your WordPress...

How to Add WhatsApp live chat to your WordPress site?

Step::1 Login to your WordPress dashboardStep::2 Go to the Plugins section and click on Add...

How to Add Whatsapp live chat code to your HTML website?

If you want to apply Whatsapp live chat widget in your manually built HTML website then simply...