413 request entity too large wordpress

New Page

How to correct the error “Entidad de solicitud 413 demasiado grande” in WordPress

February 17, 2022

By Sasa Stojanovic

Tutorials

How to correct the error of entidad de solicitud 413 demasiado grande en WordPress

WordPress is the most popular content management system (CMS) in the world, and with razón. Es potente y versátil, adecuado para personas con o sin conocimientos de codificación. Without embargo, as cualquier propietario de un site web podría decirle, el camino hacia la creación y el maintenance del site rara vez está libre de obstáculos. The errors of WordPress are between esos obstáculos. Los errors más comunes a menudo se combinan con números y/o numbers de registro de errores. Uno de esos errores es el error 413 Entidad de solicitud demasiado grande . Este es un error bastante común par los websites que usan alojamiento compartido.

El error 413 Entidad de solicitud demasiado grande ocurre cuando intends to load an archive or carpet that is larger than the maximum limit of load. For the general, succeeds to the cargo a complemento or a carpet of temas utilizando the options of cargo of its table. Unfortunately, this error is linked to a fairly easy solution, to which you can access using one of the methods that will be listed further:

  • Use PHP INI Editor from cPanel

  • Editando you archive functions.php

  • Edit your .htaccess archives

  • Edit your wp-config.php archives

  • Subir manualmente el archivo o la carpeta través de FTP

How to resolve the error 413 Entidad de solicitud demasiado grande

Para solucionar este error, simplemente necesita aumentar los recursos del servidor cuyos límites conducen al error. Esos son el tamaño de carga del archivo y el tiempo máximo permitido para ejecutar scripts PHP.

Le mostraremos varias formas de aumentar los recursos del servidor. Puedes elegir el método que mejor se adapte a tus necesidades o probarlos uno a uno. En caso de que el problema no se resuelva después de aplicar uno de los métodos, debe considerar aumentar aún más los valores. Sin embargo, asegúrese de hacerlo dentro de los límites de su paquete de alojamiento. Si se necesitan recursos adicionales que excedan los límites, le sugerimos negociar con su proveedor de alojamiento con respecto al aumento. Finalmente, el problema también se puede resolver cargando manualmente el archivo o carpeta grande a través de FTP . Discutimos este método hacia el final del artículo.

Usando PHP INI Editor dentro de cPanel

Hosting providers will offer their clients access to a control panel like cPanel. Thus, the easiest way of solving this error is to change the settings relating to the php.ini file within cPanel. To change your php.ini settings, navigate to MultiPHP INI Editor located within the Software section in cPanel.

MultiPHP INI Editor

You will be able to change the basic php.ini settings in the following window. Make sure you are in the Basic Mode tab, choose your domain, and then adjust the values of the following settings:

max_execution_time = 300 upload_max_filesize = 128M post_max_size = 256M

Once you’ve done that, press the Apply button below.

PHP INI Editor

Afterward, you will receive a message stating Successfully applied the settings in the top right corner of the screen.

Editing your functions.php file

Other ways of solving the error require you to edit certain files. This process is only slightly more difficult than the previous one we mentioned. Furthermore, you can edit those files either within the File Manager section of cPanel or via FTP, using an FTP client. We’ve included examples for both types of editing, depending on the file. But, to avoid the article being needlessly long, we left out duplicate instructions for every file mentioned.

With that being said, let us examine how to edit the functions.php file, which is one of the files that can be edited to increase server resources. Within the Files section of cPanel click on the File Manager option.

Archive Administrator

Afterward, locate your domain and position within your root WordPress directory, often called public_html, from the left-side navigation. Then, navigate to /wp-content/themes directory and open the directory of the theme you are currently using. Find the functions.php file within, right-click it, and select the Edit option in the dropdown.

Editing functions

Confirm that you wish to edit the file by pressing the Edit button in the popup that appears.

Editing functions button

The file will be opened with a text editor native to cPanel. Insert the following code at the bottom of your functions.php file:

@ ini_set ( ‘upload_max_size’ , ’128M’ ) ;

@ ini_set ( ‘post_max_size’, ’256M’ ) ;

@ini_set(‘max_execution_time’, ‘300’);

@ini_set(‘upload_max_size’, ‘128M’); @ini_set(‘post_max_size’, ‘256M’); @ini_set(‘max_execution_time’, ‘300’);

@ini_set(‘upload_max_size’, ‘128M’); @ini_set(‘post_max_size’, ‘256M’); @ini_set(‘max_execution_time’, ‘300’);

Function Code Editing

Then press the Save Changes button in the upper right corner of the screen.

Editing your .htaccess file

Un autre fichier que vous pouvez modifier pour augmenter les ressources de votre serveur est le fichier .htaccess. Comme .htaccess est un fichier de configuration de serveur pour les serveurs Apache, il peut aider à activer ou désactiver une multitude d’autres fonctionnalités de serveur. Vous pouvez y accéder via FTP. Cependant, comme il est généralement caché, vous devrez activer les options appropriées pour afficher les fichiers cachés dans le client FTP de votre choix pour le voir.

After connecting to your server using your FTP credentials, navigate to the root WordPress directory of your site, called public_html. Locate the .htaccess file within, right-click it and select the View/Edit option.

Edition of the Htaccess archive

Open the file using a text editor you prefer. Insert the code shown below at the end of the file, after the # END WordPress line of code .

php_value upload_max_filesize 128M

php_value post_max_size 256M

php_value max_execution_time 300

php_value max_input_time 300

php_value upload_max_filesize 128M php_value post_max_size 256M php_value max_execution_time 300 php_value max_input_time 300

php_value upload_max_filesize 128M php_value post_max_size 256M php_value max_execution_time 300 php_value max_input_time 300

Edition of the code of the archive Htaccess

Then save the changes and upload the modified file to your server to replace the current one.

Editing your wp-config.php file

Le fichier wp-config.php est encore un autre fichier qui peut être utilisé pour augmenter les ressources du serveur. Le processus est très similaire à celui de l’édition du fichier .htaccess.

Connectez-vous à votre serveur à l’aide de vos informations d’identification FTP et accédez au répertoire racine de WordPress . Recherchez le fichier wp-config.php à l’ intérieur, cliquez dessus avec le bouton droit de la souris et sélectionnez l’option Afficher/Modifier . Vous pouvez modifier le fichier à l’aide de n’importe quel éditeur de texte de votre choix.

WP Config Edit

Insérez le code ci-dessous juste avant le /* C’est tout, arrêtez d’éditer ! Bonne publication. */ ligne de code.

@ini_set(‘upload_max_size’, ‘128MB’);

@ini_set(‘post_max_size’, ‘256M’);

@ini_set(‘memory_limit’, ‘300MB’);

@ini_set(‘upload_max_size’, ‘128MB’); @ini_set(‘post_max_size’, ‘256M’); @ini_set(‘memory_limit’, ‘300MB’);

@ini_set(‘upload_max_size’, ‘128MB’); @ini_set(‘post_max_size’, ‘256M’); @ini_set(‘memory_limit’, ‘300MB’);

Editing WP configuration code

Then save the changes and upload the file to your server to overwrite the old wp-config.php on your server.

Manual file or folder upload via FTP

Since the 413 error happens when uploading a very large file or folder within your dashboard, an additional way of solving the issue is by uploading the troublesome file via FTP. We will show you the steps using a plugin folder as an example. You can upload it manually by connecting to your server with your FTP credentials and navigating to your root WordPress directory, called public_html. Afterward, find and enter your /wp-content/plugins directory. Then, in the left section of the FTP client, find the unzipped plugin folder located on your computer. Right-click it and select the Upload option in the dropdown.

Manually submit complementos mat

Le téléchargement de thèmes via FTP est très similaire. En utilisant la navigation sur le côté droit du client FTP, démarrez à partir de votre répertoire racine WordPress et accédez au répertoire /wp-content/themes . Ensuite, dans la navigation du client FTP sur le côté gauche, recherchez le dossier de thème décompressé . Faites un clic droit dessus et sélectionnez l’option Télécharger .

Manually submit the theme mat

Dans les deux cas, vous devrez peut-être faire preuve d’un peu de patience pour que le téléchargement soit terminé . Selon la taille du plugin ou du dossier de thème, ce processus peut prendre un certain temps. Mais, votre patience sera récompensée une fois le dossier téléchargé car cela résoudra l’erreur que vous rencontriez.

Qode Themes: Top Picks

See the collection

Banner Puente Nuevo

Bridge

Creative Multipurpose WordPress Theme

Estocolmo WordPress Theme

stockholm

A truly multi-concept theme

WordPress starter theme

Startit

Fresh Startup Business Theme

FinalThoughts

WordPress errors can seem puzzling and difficult to solve at times, but most can be solved quite easily. The 413 Request Entity Too Large error is no exception. By carefully following any of the methods we discussed above, we are confident that you will be able to solve the error quite quickly. Furthermore, increasing the server resources could prove beneficial for your site in the long term. It can solve (or prevent) the appearance of other common WordPress errors such as image upload errors. And increased server resources can help your website run smoothly in general.

Advice Solutions to WordPress problems

¿Qué es un puntaje de legibilidad de publicación y cómo mejorar el tuyo en WordPress?

0

How to Fix the 413 Request Entity Too large Error in WordPress

Last updated on February 7th, 2018 by Editorial Staff | Reader DisclosureDisclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

Comparte 110 Cuota Pío Cuota Facebook Messenger WhatsApp Correo electrónico

Are you seeing the 413 Request entity too large error in WordPress? This error usually occurs when you are trying to upload a theme or plugin file in WordPress. In this article, we will show you how to easily fix the 413: request entity too large error in WordPress.

WordPress error 413: entidad de solicitud demasiado grande WordPress Error 413 - Request Entity Too Large

What Causes WordPress 413 Request Entity Too Large Error?

This error usually happens when you are trying to upload a file that exceeds the maximum file upload limit on your WordPress site.

Su servidor web no podrá cargar el archivo y verá la página de error de entidad de solicitud 413 demasiado grande.

Example of error of entidad de solicitud 413 demasiado grande Example of request entity too large error 413

Normalement, la mairie de las empresas de alojamiento de WordPress tienen sus servidores configurados para que los usuarios de WordPress puedan cargar fácilmente imágenes grandes y otros medios.

Sin embargo, a veces esta configuración no es lo suficientemente alta como para cargar archivos grandes de temas o complementos.

Aussi le impediría cargar archivos grandes en la biblioteca de medios. En ese caso, verá un mensaje diferente, indicando claramente que el tamaño del archivo excede el límite máximo permitido.

El tamaño del archivo supera el límite máximo de tamaño de cargo File size exceeds maximum upload size limit

Dicho esto, echemos un vistazo a cómo corregir el error demasiado grande de la entidad de solicitud de WordPress 413.

Fix the error of entidad de solicitud 413 demasiado grande en WordPress

Hay varias formas de corregir el error de entidad de solicitud demasiado grande en WordPress. Cubriremos todos estos métodos, y puede probar el que funcione better para usted.

Method 1. Aumentar el límite de tamaño del archivo de carga a través del archivo de funciones

Simply add the following code to the archival functions.php of this theme or a specific addition to the site.

1

2

3

@ini_set(‘upload_max_size’, ’64M’);

@ini_set(‘post_max_size’, ’64M’);

@ini_set(‘max_execution_time’, ‘300’);

Increase the values ​​in upload_max_size and post_max_size so that Sean more than the archive that is tratando de cargo. Also deberá increase max_execution_time al tiempo que cree que tardará en cargarse el archivo. If no está seguro, puede attemptar duplicar este valor.

Method 2. Increase the limit of the file box of the cargo archive through the archive .htacces

For this method, you will need to edit the archive. Htaccess and add the following code to the lower part:

1

2

3

4

php_value upload_max_filesize 64M

php_value post_max_size 64M

php_value max_execution_time 300

php_value max_input_time 300

For more information on how to increase the archive upload limit, see the new guide on how to increase the archive upload limit in WordPress.

Method 3. Upload archive manually through FTP

If the 413 error occurs solo, it’s because it was uploaded to a particular archive, so consider uploading the archive manually through FTP.

If you intend to upload a WordPress theme, see the new guide on how to install a WordPress theme and select the “Install a WordPress theme via FTP” section.

If you want to upload an add-in, see the following guide for installing a WordPress add-in and go to the “Manually install a WordPress add-in via FTP” section.

For other archives, see the new help on manually uploading WordPress archives via FTP.

Hope that this article has provided an apprender how to solve the error of entidad de solicitud de WordPress 413 demasiado grande. Also can consult a list of common WordPress errors and come to solve them.

If you like this article, submit to a new YouTube channel for WordPress video tutorials. Also puede encontrarnos on Twitter and Facebook .

Compare 110 Cuota Pío Cuota Facebook Messenger WhatsApp Correo electrónico


Video 413 request entity too large wordpress

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…