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

How To Check Whether Someone Blocked You On Instagram

All social media platforms including Instagram do not notify people when they get blocked by a user. But when someone’s post and...

Free Apps Make Money through These Innovative Ways

Have you always wondered why are some apps available to you free of cost? If you want to know how apps make...

How To Completely Remove Google Account From Chrome Browser

Google Chrome when used with your personal Google account lets you keep the data in sync with all your devices. Your YouTube...

How To Know If Your Android Smartphone Is Hacked And How To Fix It!

One of the worst nightmares you can ever witness is realizing that your Android Smartphone Is Hacked. Yes, you're allowed to be...

How to Fix Google Drive Not Downloading Files After Zipping

Google Drive is one of the most convenient and easy-to-use file storage services. It allows us to store or host files online,...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here