ShortPixel and Formidable Forms file uploads creates 404s
-
1. Install Shortpixel.
2. Add your Shortpixel API to the plugin.
3. Set Shortpixel Advanced Settings to use Custom Media folders.
3. Create a Formidable Forms form with a file upload field.
4. Submit the form with a file in the upload field.
5. Wait a couple minutes for Shortpixel API to activate to process the image.
5. Check Access logs. You will see 404s for every thumbnail version that ShortPixel is trying to access via the frm_file folder which doesn’t exist. This occurs even if you specifically set the folder for it to access under Media > Custom Media.
Summary: Shortpixel tries to optimize EVERY image uploaded with Formidable Forms even if that form’s Formidable image folder is NOT selected for optimization. AND in doing so, the ShortPixel Image Optimization API bot tries to access the wrong folder and throws dozens or hundreds of 404 errors on the server depending on how many images have been uploaded in a given day.
The API “detects” an image has been uploaded via a Formidable Forms form, but then searches the wrong folder for it.
Fix needed:
1. Shortpixel should ONLY access images in the folders specified under Custom Media. ShortPixel should NOT be trying to optimize every image uploaded with Formidable as this uses ShortPixel credits and may not be what people want to spend their credits on.2. ShortPixel should NOT be searching a folder that doesn’t exist, ie frm_file
- The topic ‘ShortPixel and Formidable Forms file uploads creates 404s’ is closed to new replies.