How do I successfully add Content Security Policy header to HTaccess via plugin

[ad_1]

I am using the plugin WP .htaccess editor and I have added the CSP code

However when I go to securityheaders.com to verify, it says that there is no CSP present.

Any suggestions for how to get it to work?

[ad_2]
2 Comments
  1. Flush your site caches. Open your site in an incognito tab, open dev tools > network, reload the page, and check if CSP is being passed as a response header for the root document.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer