W3 TC overwriting "baseUrl" of another script
-
Hi,
I have a script from JUICEBOX that is not working. It needs to get a CSS file to work, and activating W3 Total Cache seems to change the baseUrl to :
https://mydomain.com/my-page-url/the-url-of-my-cssHere is what I need to put in my page in WordPress:
<script src="https://www.mr-eddy.com/portfolio/live2/jbcore/juicebox.js"></script> <script> new juicebox({ baseUrl : '../../portfolio/live2/', containerId : 'juicebox-container', galleryWidth : '940', galleryHeight : '700', backgroundColor: '#ffffff' }); </script>
Everything else on the page is loading properly, even the script.
Here is a test website with a page getting this error :
https://mreddy.cluster010.ovh.net/portfolios/photo-portfolio-wedding-mariage/I don’t know what option to change (if there is any) in W3 TC to make this “theme.css” file load. I tried to put it in the list to not minify, without any change (which sounds normal since it’s not a minifying problem in fact)
Any idea What I could do here ?
I suppose this problem would happen with any script calling a file in a wordpress page or post by the way, so I may not be the only having this kind of problem.Thanks
Eddy
- The topic ‘W3 TC overwriting "baseUrl" of another script’ is closed to new replies.