Facing issue in default WordPress after adding Content Security in httpd.conf
-
Hello Team,
I really appreciate it if you help me to find a workaround for this issue quickly.
We are facing an issue in default WordPress after implementing Content-Security-Policy in httpd.conf file. (i.e. ROOT File)
Header append X-FRAME-OPTIONS "SAMEORIGIN" Header set X-XSS-Protection "1; mode=block" Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure Header always set Strict-Transport-Security "max-age=31536000" Header always set X-Content-Type-Options "nosniff" <strong>Header always set Content-Security-Policy "default-src 'self'"
To draw your attention, I would like to inform you that We are trying to add in .htaccess. Header always set Content-Security-Policy “default-src ‘self’ script-src ‘self’ ” but it’s not allowing us.
Pls, refer to the below screenshot for more details.
https://prnt.sc/1q2n2xg
https://prnt.sc/1q2n7qh
https://prnt.sc/1q2qplm – Here you can see Editor is not working
https://prnt.sc/1q2qwnc – Here you can see Editor + Upload Featured Image not working
https://prnt.sc/1q2r87z – Here you can see comment Editor not workingPlease help ASAP. So, I can be delivered things to my client quickly.
Thanks
Bhavin
- The topic ‘Facing issue in default WordPress after adding Content Security in httpd.conf’ is closed to new replies.