When you export interactive HTML5 content using in5 from Adobe InDesign, the resulting file can sometimes exceed your WordPress site's maximum upload size. This often triggers errors like:
- 413 Request Entity too Large error
- Files not appearing in the media library
- Upload failures when using the in5 embed plugin
- Silent upload failures with no message
These problems are caused by default limits in WordPress, PHP, or your web server configuration. Luckily, this is easily fixed with a few simple steps.
You can increase the upload limit to your Wordpress installation by adding (or amending) a php.ini to the wp-admin folder with the following settings:
post_max_size = 150M upload_max_filesize = 100M
The php.ini settings are non-recursive (i.e., only apply to that folder and not its children).
Adjust as needed by making the settings larger than the file you're uploading.
You can see this process in the video below.
If you're still having difficulty uploading after changing the settings above, or you get an error saying "413 request entity too large", you may need to configure one additional setting on your server.
- Apache: Set the LimitRequestBody directive in either your httpd.conf file or a local .htaccess file. (https://stackoverflow.com/a/3719358/1688568)
- Nginx: Set the client_max_body_size directive in nginx.conf (http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
More details.
If you need additional assistance, contact us directly.