• Categories
    • Tutorials
    • Beginners Guide
    • WordPress News
    • WordPress Security
    • Best WordPress Plugins
    • WordPress Themes
    • Product Reviews
    • WP Tips & Tricks
  • Guides
    • Start a Blog
    • Make a Website
    • WordPress Hosting
  • WordPress Hosting
    • A2 Hosting
    • HostGator
    • Bluehost
    • Cloudways
  • Managed Hosting
    • WPEngine
    • Rocket.net
    • WPX
    • Kinsta
  • Coupons
    • WPEngine
    • Flywheel
    • Cloudways
    • A2 Hosting
    • WPX Hosting
WordPress Tutorials

How To Fix ‘413 Request Entity Too Large’ WordPress Error

Last Updated on: February 6, 2021 Editorial Staff Leave a Comment

How To Fix ‘413 Request Entity Too Large’ WordPress Error

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.

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

What Is ‘413 Request Entity Too Large’ Error?

413 Request Entity Too Large WordPress Error

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

To avoid excessive usage, your web hosting provider sets limits on the sizes of files you can upload and the time your website is allowed to execute PHP scripts. Errors like  ‘413 Request Entity Too Large’ occurs when you try to upload files or execute scripts beyond these default limits.

While these limits are set for your own good, it can often get in the way of your website development. In such cases, you can take matters to your own hands and fix it.

How To Fix It

You can fix this error by simply increasing the max upload size limits set for WordPress. Or, you can avoid the error altogether by using an FTP client app to 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 content management system. You need to use more advanced tools for performing heavy tasks like uploading big files.

An FTP client app is the perfect tool you can use for uploading larger files into your website and server. FileZilla and WinSCP are both great free FTP apps you can use to access your server.

ftp-client-app

Download and install the software on your computer. Then use the FTP app to login to your server using the root access username and password given to you by your web hosting provider.

To upload themes and plugins, navigate to the WP-Content folder using your FTP app and simply drag and drop the files directly into the Themes or Plugins folder.

This way, you won’t be limited by any upload size 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 into the same error. You can fix this by increasing the default upload size limits for your website.

One of the easiest ways to increase your website’s max upload size limit is to create a PHP.ini file in your server with custom parameters that extend the default limits set by WordPress.

To do this, usually, you have to access server files and create the PHP.ini file manually. We’ll show you a simpler way to approach this process.

If you’re using a shared or a managed WordPress hosting service, then you’ll have access to CPanel. On your CPanel, you’ll find an app called PHP INI Editor under the Software category. This tool allows you to easily create and edit your PHP.ini file. Here’s how it work.

Step 1: Access CPanel

You can access your website’s CPanel by logging in to your web hosting account. Or, simply type CPanel at the end of your domain name (eg: yourwebsite.com/cpanel).

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

Step 2: Open PHP INI Editor

php-editor-1

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 list as the location.

Step 3: Customize The Parameters

php-editor-2

In the PHP INI Editor you’ll find all the default parameters set for your account. Find the following parameters in your editor:

upload_max_filesize
post_max_size
max_execution_time

Edit the values for these parameters by setting 64M for both upload_max_filesize and post_max_size. Set 300 for the max_execution_time parameter.

Remember to click 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 file using the same technique. Although, this requires editing the file manually.

Step 1: Access Your Server

In order to find the .htaccess file, you need to first access the website files hosted on your server. You can access your server using an FTP client app or using the CPanel.

file-manager

Follow the instructions we’ve provided in the previous methods to access your server. To access your server files in CPanel, use the File Manager app.

Step 3: Find And Edit .htaccess File

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

edit-htaccess-1

On this folder, you’ll find a file named .htaccess. Right-click on this file and choose Edit to customize the file.

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

Step 3: Copy And Paste The Parameters

edit-htaccess-2

Copy the following parameters and paste them at the end of your .htaccess 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
Click Save to save the changes.

This will set custom values for your max upload size and execution time limits, allowing you to upload files of larger sizes.

In Conclusion

These methods should help you solve the error. Remember not to perform all these methods all at once. Try one solution at a time.

If you’re still encountering the error after following the above solutions, then you may want to contact your hosting provider and ask for their support since it may be a server-side issue. Or consider moving your website to a better managed WordPress hosting platform.

+ Share
Disclosure

Editorial Staff

Related Posts

Back to all articles
  • Dealing with WordPress RSS Feed Errors: How to Identify and Fix Them

    Dealing with WordPress RSS Feed Errors: How to Identify and Fix Them

  • What is WordPress? A Beginner's Guide!

    What is WordPress? What Can it do & Is it Right for You? A Beginner’s Guide

  • How to Set Up WordPress Two-Factor Authentication: WP 2FA Review

    How to Set Up WordPress Two-Factor Authentication: WP 2FA Review

Coupons

View more deals
  • 10% OFF

    Elegant Themes Coupon

    You can’t move within WordPress circles without coming across E
    Get This Deal
  • pressable logo
    15% OFF

    Pressable Coupon

    If you’re looking for a high-quality managed WordPress hosting
    Get This Deal
  • Teachable Coupon Code
    10% OFF

    Teachable Coupon

    Building an online course business requires the right platform to
    Get This Deal

Leave a Reply Cancel reply

Full Disclosure This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

Our Newsletter

Get awesome content delivered straight to your inbox.

Thank you!

You have successfully joined our subscriber list.

.

THE BEST OF WPKUBE

Some of the best content we have published so far.

BEGINNER GUIDES & REVIEWS

110 Best WordPress Hosting Options for 2025 (Pros & Cons)
28 Best Managed WordPress Hosting Providers for 2025 Compared
38 Best Cheap WordPress Hosting Providers in 2025 (From $1.99)
46 Best WordPress LMS Plugins – Detailed Comparison & Review for 2024
55 Best WooCommerce Hosting Providers Compared in 2024 (All Budgets)
66 Best WordPress Landing Page Plugins Compared + Recommendations (2024)
79 Best List Building Plugins for WordPress In 2024
8How to Fix the 500 Internal Server Error on Your WordPress Website
9Beaver Builder Review: Honest Thoughts + Pros and Cons (2025)
10OptimizePress Review: Create Landing Pages with Ease
11How to Make a Website: Complete Beginner’s Guide
12Top 22 Best Free Stock Photo Resources For Your Site
13How to Start a Blog in 2022 (Step by Step Guide)
14How To Fix ‘503 Service Unavailable’ WordPress Error
1511 Best Contact Form Plugins for WordPress in 2025
16How to Add a Custom Logo to Your WordPress Site
17How to Fix Error Establishing a Database Connection in WordPress

WPX Hosting: 50% OFF

Save 50% on WPX Hosting using our exclusive coupon code.

Get this Deal
Featured In Forbes Huffpost Entrepreneur SEJ

About WPKube

WPKube is an online WordPress resource which focuses on WordPress tutorials, How-to’s, guides, plugins, news, and more. We aim to provide the most comprehensive beginner’s guides to anything about WordPress — from installing plugins, themes, automated installs and setups, to creating and setting up pages for your website.

We have over 500+ tutorials, guides, product reviews, tips, and tricks about WordPress. Founded by Devesh Sharma, the main goal of this site is to provide useful information on anything and everything WordPress.

Twitter Facebook

Useful Links

  • Behind the Scenes
  • Beginner Guides
  • WordPress Hosting
  • WooCommerce Themes
  • MeridianThemes
  • Exclusive WordPress Deals
View All Guides »

Reviews

  • WPEngine 33% OFF
  • WPX Hosting
  • Flywheel 33% OFF
  • Divi Theme 20% OFF
  • Systeme.io
  • Elegant Themes
Reviews »

Deals

  • InMotion Hosting
  • LifterLMS Coupon
  • LiquidWeb Coupon
  • WPEngine Coupon
  • A2 Hosting
  • Solid Affiliate
More Deals »
© Copyright 2023 WPKube ® All Rights Reserved.
  • Contact
  • Site Terms
  • Disclosure
  • Privacy Policy