HTTP post requests not working with query strings from W3 Total cache
-
I added W3 total cache to my website to increase performance, mostly for images as it is not a heavy site. The site contains a form written in PHP to upload data directly to Amazon S3. This is the idea:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.htmlThe form has stopped working since I activated W3 total cache because I think the host, which looks like this in my code:
destinationBucket.s3.amazonaws.com
is getting a query string added to it at execution
destinationBucket.s3.amazonaws.com/?v=xxxxxThe post request now has an error along the lines of “invalid argument, query string parameters not allowed, argument name v”. I have gone through all the settings in w3 total cache, and have also tried rewrite rules in .htaccess, but now I’m drawing a blank and think I might need to drop the plugin. Can you please offer any advice?
- The topic ‘HTTP post requests not working with query strings from W3 Total cache’ is closed to new replies.