CARA CEPAT MENGATASI ERROR 413 REQUEST ENTITY TOO LARGE

  -  

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

Bạn đang xem: Cara cepat mengatasi error 413 request entity too large

This error is quite common ahy vọng 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 lớn upload files such as themes and plugin with larger sizes than the maximum upload kích thước limits set for WordPress.

To avoid excessive sầu usage, your website hosting provider sets limits on the sizes of files you can upload & the time your trang web is allowed to exedễ thương PHPhường 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 to lớn your own hands và fix it.

How To Fix It

You can fix this error by simply increasing the max upload form size limits set for WordPress. Or, you can avoid the error altogether by using an FTPhường client ứng dụng to lớn upload larger files.

We’ll show you how these solutions work.

Method 1: Use An FTP Client App

WordPress is a software that comes with certain limitations. After all, it’s only a nội dung management system. You need to lớn use more advanced tools for performing heavy tasks like uploading big files.

An FTP client tiện ích is the perfect tool you can use for uploading larger files into your website and hệ thống. FileZilla và WinSCPhường are both great không tính phí FTP.. apps you can use khổng lồ access your server.

*

Download & install the software on your computer. Then use the FTPhường. tiện ích to lớn login lớn your server using the root access username và password given lớn you by your web hosting provider.

To upload themes và plugins, navigate lớn the WP-Content thư mục using your FTP. phầm mềm & simply drag và drop the files directly inlớn the Themes or Plugins folder.

This way, you won’t be limited by any upload kích cỡ limits.

Method 2: Use CPanel PHP INI Editor

Of course, using an FTP.. client won’t fix the problem. Especially if your site is managed by multiple authors, they may eventually run inlớn the same error. You can fix this by increasing the mặc định upload size limits for your website.

One of the easiest ways to increase your website’s max upload kích thước limit is to lớn create a PHPhường.ini tệp tin in your server with custom parameters that extover the mặc định limits mix by WordPress.

To do this, usually, you have sầu to lớn access hệ thống files và create the PHP..ini file manually. We’ll show you a simpler way lớn approach this process.

If you’re using a shared or a managed WordPress hosting service, then you’ll have access khổng lồ CPanel. On your CPanel, you’ll find an app called PHP INI Editor under the Software category. This tool allows you lớn easily create and edit your PHPhường.ini tệp tin. Here’s how it work.

Step 1: Access CPanel

You can access your website’s CPanel by logging in to your web hosting trương mục. Or, simply type CPanel at the kết thúc of your tên miền name (eg: yourtrang web.com/cpanel).

Xem thêm: Đường Ra Biển Lớn Ebook /Epub/Mobi, Tải Ebook Hay

Enter the CPanel username and password given lớn you by your web hosting provider khổng lồ login to lớn the CPanel. These login details are usually included in the welcome email that you receive sầu after signing up for a hosting trương mục.

Step 2: xuất hiện PHPhường INI Editor

*

Find the PHPhường INI Editor in your CPanel. It can be found in the Softwares section of the CPanel.

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

Step 3: Customize The Parameters

*

In the PHP INI Editor you’ll find all the mặc định parameters mix for your tài khoản. Find the following parameters in your editor:

upload_max_filesizepost_max_sizemax_execution_time

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

Rethành viên to cliông xã Save 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 tệp tin using the same technique. Although, this requires editing the file manually.

Step 1: Access Your Server

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

*

Follow the instructions we’ve sầu provided in the previous methods khổng lồ access your VPS. To access your hệ thống files in CPanel, use the File Manager phầm mềm.

Step 3: Find And Edit .htaccess File

Once you’re inside the server, navigate to lớn the public.html folder.

*

On this thư mục, you’ll find a file named .htaccess. Right-click on this file & choose Edit khổng lồ 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 and paste them at the end of your .htaccess file.

php_value upload_max_filekích cỡ 64Mphp_value post_max_kích cỡ 64Mphp_value max_execution_time 300php_value max_input_time 300Cliông xã Save lớn save sầu the changes.

This will set 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 sầu the error. Remember not to lớn perkhung all these methods all at once. Try one solution at a time.

Xem thêm: Cách Tải Video Từ Máy Tính Vào Iphone Và Ipad, Hướng Dẫn Copy Video Từ Máy Tính Vào Iphone, Ipad

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