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
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
- Head to Settings > General (or click here)
- Scroll down to Advanced
- Click Add HTTP Header
- Add your Header name and Value
- Click Save Changes
- Your HTTP Header will apply from now on 🎉
Removing Custom HTTP Headers
- Head to Settings > General (or click here)
- Scroll down to Advanced
- Click ⋮ next to the HTTP Header you want to remove
- Click Remove
- 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)