Fixing 413 request entity too large errors


Did you come across the annoying ‘413 Request Entity Too Large’ error while trying upload a theme or a plugin tệp tin using your WordPress dashboard? Don’t worry, you’re not alone.

Bạn đang xem: Fixing 413 request entity too large errors

This error is quite common among WordPress users who use affordable shared hosting plans to lớn host their website. In this guide, we’ll show you how lớn fix this issue by yourself using a few different methods.

What Is ‘413 Request Entity Too Large’ Error?

The ‘413 Request Entity Too Large’ error usually occurs in WordPress when you’re trying to lớn upload files such as themes and plugin with larger sizes than the maximum upload size limits mix for WordPress.

To avoid excessive usage, your website hosting provider sets limits on the sizes of files you can upload & the time your website is allowed lớn exedễ thương PHP scripts. Errors lượt thích ‘413 Request Entity Too Large’ occurs when you try khổng lồ upload files or exexinh đẹp scripts beyond these mặc định limits.

While these limits are phối for your own good, it can often get in the way of your trang web development. In such cases, you can take matters khổng lồ your own hands & fix it.

How To Fix It

You can fix this error by simply increasing the max upload kích thước limits set for WordPress. Or, you can avoid the error altogether by using an FTPhường. client tiện ích to lớn upload larger files.

We’ll show you how these solutions work.

Method 1: Use An FTPhường Client App

WordPress is a software that comes with certain limitations. After all, it’s only a content management system. You need khổng lồ use more advanced tools for performing heavy tasks lượt thích uploading big files.

An FTP.. client ứng dụng is the perfect tool you can use for uploading larger files into lớn your trang web và server. FileZilla and WinSCP.. are both great miễn phí FTP apps you can use to lớn access your hệ thống.


Download and install the software on your computer. Then use the FTPhường phầm mềm to lớn login khổng lồ your server using the root access username and password given to you by your web hosting provider.

To upload themes và plugins, navigate khổng lồ the WP-Content folder using your FTP. ứng dụng and simply drag & drop the files directly into lớn the Themes or Plugins folder.

This way, you won’t be limited by any upload form size limits.

Method 2: Use CPanel PHPhường INI Editor

Of course, using an FTPhường. client won’t fix the problem. Especially if your site is managed by multiple authors, they may eventually run inkhổng lồ the same error. You can fix this by increasing the mặc định upload size limits for your trang web.

One of the easiest ways to increase your website’s max upload size limit is to create a PHPhường.ini tệp tin in your server with custom parameters that extend the default limits mix by WordPress.

To vị this, usually, you have khổng lồ access hệ thống files và create the PHPhường.ini tệp tin manually. We’ll show you a simpler way khổng lồ approach this process.

If you’re using a shared or a managed WordPress hosting service, then you’ll have access to lớn CPanel. On your CPanel, you’ll find an phầm mềm called PHP INI Editor under the Software category. This tool allows you lớn easily create & edit your PHP..ini tệp tin. Here’s how it work.

Step 1: Access CPanel

You can access your website’s CPanel by logging in lớn your website hosting account. Or, simply type CPanel at the end of your tên miền name (eg: yourtrang

Xem thêm: Muốn Chặn Facebook, Cách Chặn Nick Facebook Của Người Khác, Cách Cấm/Chặn Bạn Bè Trên Facebook

Enter the CPanel username and password given to lớn you by your web hosting provider to login to the CPanel. These login details are usually included in the welcome email that you receive sầu after signing up for a hosting account.

Step 2: Open PHP INI Editor


Find the PHP INI Editor in your CPanel. It can be found in the Softwares section of the CPanel.

Then open the app and choose your website from the menu as the location.

Step 3: Customize The Parameters


In the PHPhường INI Editor you’ll find all the default parameters phối for your account. Find the following parameters in your editor:


Edit the values for these parameters by setting 64M for both upload_max_filekích cỡ and post_max_kích cỡ. Set 300 for the max_execution_time parameter.

Rethành viên khổng lồ clichồng Save sầu once you’re done editing.

Note: Your CPanel may look slightly different from the one shown in the screenshots. Some the parameter names may also be slightly different in your PHP.. INI Editor.

Method 3: Edit .htaccess File

If customizing the parameters in the PHP..ini file didn’t work, you can try editing the .htaccess file using the same technique. Although, this requires editing the file manually.

Step 1: Access Your Server

In order to lớn find the .htaccess file, you need to first access the trang web files hosted on your hệ thống. You can access your VPS using an FTPhường. client app or using the CPanel.


Follow the instructions we’ve sầu provided in the previous methods to lớn access your hệ thống. To access your server files in CPanel, use the File Manager ứng dụng.

Step 3: Find And Edit .htaccess File

Once you’re inside the server, navigate khổng lồ the public.html thư mục.


On this folder, you’ll find a file named .htaccess. Right-click on this tệp tin & choose Edit lớn customize the file.

Note: Always create a backup copy of the files before editing.

Step 3: Copy And Paste The Parameters


Copy the following parameters & paste them at the end of your .htaccess tệp tin.

php_value upload_max_filekích cỡ 64Mphp_value post_max_kích cỡ 64Mphp_value max_execution_time 300php_value max_input_time 300Click Save to lớn save sầu the changes.

This will mix custom values for your max upload form size and execution time limits, allowing you khổng lồ upload files of larger sizes.

In Conclusion

These methods should help you solve the error. Remember not khổng lồ perform all these methods all at once. Try one solution at a time.

If you’re still encountering the error after following the above sầu solutions, then you may want lớn liên hệ your hosting provider và ask for their support since it may be a server-side issue. Or consider moving your website to a better managed WordPress hosting platkhung.