Table of Contents

Setting Custom HTTP Headers

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 only 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?

Anonymizing IP Addresses

Is HelpDocs GDPR compliant?

Get in touch

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