Title: W3 Total Cache block plugin
Last modified: February 25, 2026

---

# W3 Total Cache block plugin

 *  Resolved [mystweb](https://wordpress.org/support/users/mystweb/)
 * (@mystweb)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/w3-total-cache-block-plugin/)
 * I use Google review and your plugin and Google Review doesn’t work. I have this
   error :
 * “[Content-Security-Policy : Les paramètres de la page ont empêché l’exécution d’un script (script-src-elem) à l’adresse ](https://cdn.trustindex.io/loader.js)
   [https://cdn.trustindex.io/loader.js?ver=1](https://cdn.trustindex.io/loader.js?ver=1)
   car il enfreint la directive suivante : « script-src ‘self’ ‘unsafe-inline’ ‘
   unsafe-eval’”
 * I tried to add [https://cdn.trustindex.io](https://cdn.trustindex.io) in **Performance
   → Browser Cache → Security Headers** -> script-src-elem and script-src but it
   doesn’t work. Could you please help me to resolve this error ?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/w3-total-cache-block-plugin/#post-18833933)
 * Hello [@mystweb](https://wordpress.org/support/users/mystweb/)
 * Thank you for reaching out and I am happy to help!
 * Have you had any rules added before to script-src: in the W3 Total Cache? Does
   the issue persist if you disable Browser Caching?
 * If the issue still persist pelase check your .htaccess/nginx.conf for any custom
   security headers rules. Also check if you are using Cloudflare if it’s set there.
 * Change from:
 * script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’
 * To:
 * script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ [https://cdn.trustindex.io](https://cdn.trustindex.io)
 * That’s it.
 * You do NOT need to touch script-src-elem unless it exists separately.
 * If you DO have:
 * script-src-elem …
 * Then update it too:
 * script-src-elem ‘self’ [https://cdn.trustindex.io](https://cdn.trustindex.io)
 * Content-Security-Policy:
   default-src ‘self’;script-src ‘self’ ‘unsafe-inline’‘
   unsafe-eval’ [https://cdn.trustindex.io](https://cdn.trustindex.io);
 * Let me know if this helps!
 * Thanks!
 *  Thread Starter [mystweb](https://wordpress.org/support/users/mystweb/)
 * (@mystweb)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/w3-total-cache-block-plugin/#post-18834304)
 * Fine, it’s works.
 * Thanks you
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/w3-total-cache-block-plugin/#post-18834838)
 * Hello [@mystweb](https://wordpress.org/support/users/mystweb/)
 * You are most welcome! 
   We would really appreciate it if you could take a minute
   and [post a review here](https://wordpress.org/support/plugin/w3-total-cache/reviews/).
   This will help us to continue offering a top-notch product to users. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fw3-total-cache-block-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [3 months, 2 weeks ago](https://wordpress.org/support/topic/w3-total-cache-block-plugin/#post-18834838)
 * Status: resolved