I'm trying to upload a wordpress theme whose size is 40MB. Whenever I try to upload, the file loads all and at the end appears the error: "413 Request Entity Too Large". How do I solve the problem?
I'm trying to upload a wordpress theme whose size is 40MB. Whenever I try to upload, the file loads all and at the end appears the error: "413 Request Entity Too Large". How do I solve the problem?
This you can configure in your php.ini
, you have to increase the upload limit, upload_max_filesize
and post_max_size
.
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 45M
An important detail is that post_max_size
is the maximum size of the post, this includes the texts / data of a form, which you send together with a file, then send a file with exactly 40mb and a field% for example, may give you a problem. So I think it's always good to leave nome
a bit larger than the maximum file size.
first: unzipped the theme file? if so, and I start with the principle that yes:
If you are working with Wordpress on localhost, copy the wordpress template to the location the client you are using used to create a local server account
If you are working on a web server: use FileZilla, or copy the template from ssh, bash, or ftp by bash, to access the server account you are using, with its credentials, to develop the site, and copy the files of your computer to have already been unzipped.
Following this configure the template inside your Wordpress backoffice