Missing Security Headers in .htaccess File – Digital Boom

WordPress website owners started to see a new alert with recommended actions in the WordPress site’s health regarding security.

The alert says, “Your .htaccess file does not contain all the recommended security headers.”

How to add the new security headers to the .htaccess file?

We’ve put together a single code to be added to your .htaccess file that will fix all your security headers issues, and then this alert will disappear accordingly.

Copy and paste the below code at the end of your .htaccess.

<ifModule mod_headers.c>

Header always set Content-Security-Policy...

More Info

About mblog.my

Check Also

Elementary Digital named a WordPress VIP agency partner

WordPress VIP, a leading provider of enterprise WordPress, has added Elementary Digital to its Featured …

Leave a Reply

Your email address will not be published. Required fields are marked *