HTTP Security Headers Generator
Generate HTTP security header configurations for your WordPress site in .htaccess, Nginx, or PHP. Pick a preset that matches your site type or customize every header.
Generated configuration
# Fill in the form and click Generate to see the code
Want to know which headers you're missing? Run the WordPress security check.