WooCommerce Product Image Gallery Not Loading with WP Rocket Active

Today I updated a WooCommerce site, and everything worked fine, except for the images on product pages – they were not displaying at all. After a lot of trial & error, I realized that WP Rocket was to blame. I’m not sure exactly what the issue was (though my hunch is that it had to do with WP Rocket’s “CSS Optimization” settings), but I put WP Rocket in Safe Mode, and that fixed the issue. From there, I had to reactivate & reconfigure all the WP Rocket settings (the exact same settings as before, mind you!). Once that was done, everything worked fine!

It should be noted that one thing I forgot up front was that I can bypass WP Rocket altogether by using a simple url parameter, as described in their documentation. e.g. “www.example.com/?nowprocket” or “www.example.com/about-us/?nowprocket”. In hindsight it would have been quicker to start troubleshooting by using the url parameter, then work backwards from there (next time!).

Is this helpful?

The Mighty Mo! Design Co.

More posts from themightymo.com

How to merge two folders, including all sub-folders and files, on Mac

By The Mighty Mo! Design Co. | November 3, 2022

Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.

mailchimp usage stats

Some Surprising Trends in Website Development

By Toby Cryns | October 17, 2022

I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development!

How to Configure WordPress with Cloudflare, HSTS, TLS, and Secure Headers

By The Mighty Mo! Design Co. | October 11, 2022

I was recently asked to look into creating some secure http headers as well as forcing a website to load over TLS1.2+. Below are my “how to” instructions for updating these settings within WordPress and Cloudflare. Install & Configure the Cloudflare WordPress plugin. Make sure an SSL Certificate is installed on your host for your…