Table of Contents

Setting Custom HTTP Headers

Want to add some advanced security to your Knowledge Base? HelpDocs allows you to set your own HTTP Headers so you can send extra information with each HTTP request and response

River Sloane
Updated by River Sloane

Want to customize the HTTP responses sent from your Knowledge Base? HelpDocs allows you to set your own HTTP Headers so you can send extra information with each HTTP response to set up things like:

  • HTTP Strict Transport Security (HSTS)
  • iframe settings
  • Caching behaviour
  • Language settings
  • Verifying Google domain ownership
This feature is available on certain plans.

Setting Custom HTTP Headers

  1. Head to Settings > General (or click here)
  2. Scroll down to Advanced
  3. Click Add HTTP Header
  4. Add your Header name and Value
  5. Click Save Changes
  6. Your HTTP Header will apply from now on 🎉

Removing Custom HTTP Headers

  1. Head to Settings > General (or click here)
  2. Scroll down to Advanced
  3. Click next to the HTTP Header you want to remove
  4. Click Remove
  5. Click Save changes

Example HTTP Headers

Here's a few examples of HTTP headers you could use. We recommend making sure you're aware of what each one does and check out the full documentation over on the MDN docs.

Stop robots from indexing your site
X-Robots-Tag: noindex
Disallow any iframe to load content from your Knowledge Base
X-Frame-Options: DENY
Set a cookie
Cookie: name=value

What did you think of this doc?

Accessibility Statement

Signing a Data Processing Agreement (DPA)

Get in touch

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.