Bootstrap not excluded, converted to php, distorting output
-
When I enable CSS optimization on the linked site, and regardless of options, or, for example, whether I am using a CDN or not, the setting to exclude Bootstrap css seems to be ignored, and instead the following link or something very similar (with CDN address) shows up in page source id’d as “bootstrap css.”
<link
rel=stylesheet id=bootstrap-css href=https://www.bodyworksdw.com/wp-content/cache/autoptimize/autoptimize_single_bd2c7ca782ce0444797af48d0c780eae.php type=text/css media=all>Also, some key formatting is destroyed.
With CSS optmization off, bootstrap-css looks like this (happens to include CDN address instead of site url):
<link
rel=stylesheet id=bootstrap-css href=https://p9e8y9z3.stackpathcdn.com/wp-content/themes/physio-qt/assets/css/bootstrap.css type=text/css media=all>…and site formatting is fine.
I happen to be using W3 Total Cache on the site at the moment, but I had similar problems with WP Supercache that had led me previously to disable Autoptimize for CSS.
Any idea what’s happening here?
The page I need help with: [log in to see the link]
- The topic ‘Bootstrap not excluded, converted to php, distorting output’ is closed to new replies.