You upload a theme, a plugin, a video or a big batch of photos and get a plain page saying "413 Request Entity Too Large", or the uploader just says "HTTP error". The file never reached WordPress: the web server in front of it (usually Nginx, sometimes Apache or Cloudflare) has its own size limit and refused the upload. Raising WordPress's or PHP's limit alone does not help while that one stays low. Here is how to tell which limit it is and raise the right one.
client_max_body_size, 1 MB unless someone changed it). "Apache" points to LimitRequestBody. A Cloudflare-branded page means the upload went over Cloudflare's plan limit (100 MB on Free and Pro).wp-content/themes or wp-content/plugins, then be activated in the dashboard. A big video is better on YouTube or Vimeo and embedded anyway; it keeps the site fast.client_max_body_size 64M; inside the http or the site's server block, test with nginx -t, then reload Nginx. A panel such as Plesk, CloudPanel or RunCloud has the same setting in its site settings.LimitRequestBody line in the site config or .htaccess and raise or remove it.upload_max_filesize and post_max_size (a little larger) in the host's PHP settings or php.ini. If the server limit is fixed but PHP is still 2 MB, the upload fails with a different message, covered in the upload error guide.| What you see | What it means | Usual fix |
|---|---|---|
| "413 Request Entity Too Large" with "nginx" at the bottom | Nginx's upload limit, often the 1 MB default | Raise client_max_body_size (host support or server config) |
| 413 page from Apache | LimitRequestBody is set low | Raise or remove it in the site config or .htaccess |
| Cloudflare-branded 413 | Upload over the plan's 100 MB limit | Upload by SFTP or a non-proxied hostname |
| "HTTP error" in the media uploader on big files only | Often the same 413 hidden behind the uploader | Check the error in the browser's network tab; raise the server limit |
| "The uploaded file exceeds the upload_max_filesize directive" | PHP's limit, not the web server's | Raise upload_max_filesize and post_max_size |
| 413 started right after a host move or new CDN | New layer came with default limits | Ask the host to match the old limits |
Most 413s are one line from the host's support team, or one line in the Nginx config. If you cannot reach the server settings or the error stays after the change, that is what the box below is for. Related: upload errors, incompatible archive, the link you followed has expired.