If you’re unable to upload a file when adding attachments, it’s likely due to server limitations or file restrictions. Here’s how to resolve it:
File Size Exceeds Server Limits
Uploads may fail if the file exceeds your server’s configured limits.
- Go to Media > Add New to check the current upload size limit.
- If your file is larger than the limit, increase the following PHP settings:
upload_max_filesize
— controls the maximum file size allowed for upload.— sets the maximum size for the entire POST request (should be larger than upload_max_filesize).
post_max_size
These can be adjusted via .htaccess, php.ini, or your hosting control panel. Contact your host if you’re unsure how to do this.
Unsupported File Type
Although the plugin supports many file types, WordPress may restrict certain extensions by default. If needed, allow the desired file type using the upload_mimes
filter.