Missing Security Headers in .htaccess File – Digital Boom

[ad_1]

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.”

Wordpress Alert: Missing Security Headers in .htaccess File

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...
[ad_2]
More Info

About mblog.my

Check Also

Adding Images From Your Phone With Ease – WordPress.com News

Adding Images From Your Phone With Ease – WordPress.com News

[ad_1] We’re excited to share a new feature in the desktop editor and Jetpack mobile …

Leave a Reply

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