Swiper.js
-
I noticed the swiper.js 404 issue also mentioned in this thread.
The resource from “https://hostname.com/wp-content/plugins/elementor/assets/lib/swiper/swiper.min.js?ver=6.8.1” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
We do have the site running through Cloudflare.
The path to the actual file in the elementor plugin should include the version number.
This is path in the console error/wp-content/plugins/elementor/assets/lib/swiper/swiper.min.js?ver=6.8.1
But the files are actually in:/wp-content/plugins/elementor/assets/lib/swiper/v8/swiper.min.js?ver=6.8.1
When I disable the Themesflat plugin, the error about the missing swiper.js file goes away and this line disappears from the page source:
https://www.dropbox.com/scl/fi/bq0b7f7verqnws9in4y9o/Screenshot-2025-06-10-at-11.14.53-AM.png?rlkey=1zmlr786r4f7br3o5g4hpybql&dl=0
It re-appears when TF plugin is reactivated. So it is really Elementor or TF Add-ons?
Should the tf script reference the correct swiper path with the version number in it?
The topic ‘Swiper.js’ is closed to new replies.