• Skip to primary navigation
  • Skip to main content
  • Skip to footer

JohnnyVPS

ULTRA-fast WordPress Hosting

  • Features
  • Pricing
  • Support
  • Reviews
  • Sign Up

Security headers for .htaccess

Posted on August 12, 2020 by Johnny Nguyen

Looking to add some headers to your .htaccess file for extra site security?

  • Seven Important Security Headers for Your Website

Recommended tips:

  • Don’t enable HSTS if you’re not aware of the consequences. It can render your site unusable if your SSL should ever fail or delay to renew.
  • You should also block XML-RPC protocol if you don’t use it.

Looking for ultra-fast WordPress hosting?

Learn More About JVPS

Post navigation

←Previous

Blocking IP’s from your sites or servers

Next→

Use a real cron job instead of WP-cron

Reader Interactions

Leave a Reply Cancel reply

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

Footer

Features

  • Speed
  • Reliability
  • Security
  • …see all.

Comparisons

  • WP Engine
  • Flywheel
  • SiteGround
  • Cloudways

Support

  • Documentation
  • Facebook group
  • Submit a Ticket
  • Slack

Company

  • About JVPS
  • Blog
  • FAQ
  • Terms

JohnnyVPS

Boutique webhost specializing in speed, reliability, and security. Servers in USA, Europe, Asia, and Australia!

Contact Us

© 2026 JohnnyVPS. All rights reserved.

Media Affiliates Newsletter Facebook Twitter
GDPR Cookie Banner

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .