How to Fix the 413 Request Entity Too large Error in WordPress

Are you seeing the 413 Request entity too large error in WordPress? This error typically happens if you find yourself making an attempt to add a theme or plugin document in WordPress. In this text, we can display you ways to simply repair the 413: request entity too large error in WordPress.

What Causes WordPress 413 Request Entity Too Large Error?

This error typically occurs if you find yourself making an attempt to add a document that exceeds the most document add prohibit to your WordPress web site.

Your internet server will fail to add the document, and you are going to see the 413 request entity too large error web page.

413 request entity too large error example

Normally, maximum WordPress internet hosting firms have their servers configured, in order that WordPress customers can simply add large photographs and different media.

However, infrequently this environment isn’t top sufficient to add large theme or plugin information.

It would additionally prevent you from importing large information in media library. In that case, you are going to see a special message, obviously mentioning that the document dimension exceeds most allowed prohibit.

File size exceeds maximum upload size limit

That being stated, let’s check out how to repair the the WordPress 413 request entity too large error.

Fixing 413 Request Entity Too Large Error in WordPress

There are more than one tactics to repair the request entity too large error in WordPress. We will duvet these types of strategies, and you’ll be able to check out the person who works right for you.

Method 1. Increase Upload File Size Limit by means of Functions File

Simply upload the following code to your theme’s purposes.php document or a site-specific plugin.


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

You can building up the values in upload_max_size and post_max_size to be greater than the document you are attempting to add. You will even want to building up the max_execution_time to the time you assume it will take for the document to add. If you’re undecided, then you’ll be able to check out doubling this price.

Method 2. Increase Upload File Size Limit by means of .htacces File

For this technique, you are going to want to edit the .htaccess document and upload the following code at the backside:


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 be told extra about expanding document add dimension prohibit, see our information on how to building up the most document add dimension in WordPress.

Method 3. Manually Upload File by means of FTP

If the 413 error most effective happens if you find yourself importing one explicit document, then you might have considered trying to believe importing the document manually by means of FTP.

If you are attempting to add a WordPress theme, then see our information on how to set up a WordPress theme and leap to the ‘Installing a WordPress theme the usage of FTP’ phase.

If you are attempting to add a plugin, then see our information how to set up a WordPress plugin and leap to ‘Manually set up a WordPress plugin the usage of FTP’ phase.

For different information, see our information on how to manually add WordPress information the usage of FTP.

We hope this text helped you find out how to repair the WordPress 413 request entity too large error. You might also need to see our checklist of the maximum commonplace WordPress mistakes and the way to repair them.

If you loved this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can to find us on Twitter and Facebook.

Recent Articles

Fix-iPhone Hotspot Not Working

Network related issues are the common problems that we all encounter while using a smartphone. Are you facing a problem using your...

Snapchat streak Made Easy for Beginners with the Best Tips

Snapchat streak won’t help you with all your life problems, but will surely give you a strange sense of accomplishment. Unlike streaks...

Facebook Messenger Alternatives that Keep Your Chat Private

Facebook might be the king of social media ever since its launch 16 years ago, but it is not entirely safe. If...

How to use iOS 14’s new Headphone Audio Customization feature

Apple’s iOS14 comes with several new features. Among them, the most useful feature is it allows to customize iPhone headphone for a...

How to limit third party access to Photos app in iPhone – iOS 14

The new iOS 14 has introduced several new features related to security and privacy. If you are more concerned about your privacy then...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here