Cross Origin alert
-
Hello,
I don’t know whether this relates to the latest update 1.7.30 or not but I noticed this only after updating and this same error might have been present previously without being noticed.
I’m using WP Fastest Cache which also connects to a CDN and all PDF files are served via the CDN.
When loading the page with the Flipbook, the PDF is not loading and I get this error alert:
CROSS ORIGIN!! Cannot access file! //XYZcdn.net/wp-content/uploads/fileXYZ.pdf
Apparently, the plugin is trying to load the file from the CDN despite the fact that the path defined in the plugin’s settings provides a local URL for the file, like that: mysite.com/wp-content/uploads/fileXYZ.pdf
Obviously, the path gets wrongly converted to the CDN and keeps the original server path but with the CDN’s address.
Everything works fine when I disable the Fastest Cache or simply exclude this page from cache.
Should I keep settings that way or better use the CDN path in plugin’s settings?
Thanks.
- The topic ‘Cross Origin alert’ is closed to new replies.