Read More:   https://www.wpbeginner.com/beginners-guide/how-to-add-http-security-headers-in-wordpress/