LandX Theme WP Upload Message: 413 Request Entity Too Large

I followed the how-to video for uploading the LandX theme (File Name: landx- 1.8.0) into WP. However, following the steps, I get this error message kicked back to me: # 413 Request Entity Too Large. I’ve tried twice, same result. Please advise.

Hi!

The 413 request entity too large error it’s not because of the theme. It appears when the server doesn’t accept your file because its size is too large.

Every web hosting company configures the server to have a specific file upload limit, and when the server detects a bigger file, it displays that error message.

To fix it, the easiest method is to edit the .htaccess file on your server (it’s a file that contains various directives for the web server) In order to edit it, the easiest method is to use a plugin like this one: https://wordpress.org/plugins/wp-htaccess-editor/

When you open the .htaccess file, just copy-paste this block in it, then save the 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

If this doesn’t solve your issue, it means that the web server directives cannot be overwritten by a .htaccess file and you’ll have to contact your web hosting company and ask them to increase the upload the upload size limit.

Another method is to upload the theme .zip file to your website directly via FTP (in cPanel or in another third-party FTP app), not via the WordPress Admin Dashboard.

Hoping it helps,
All the best!