Status Code. Define an HTTP status code for content hosted on the CDN

With this feature, you can apply custom HTTP code to the CDN content.

For example, you can send to the end users 403 code instead of certain files. Or set up redirection to another URL.

The feature is available in the CDN resource settings and in the Rules section.


Activate the Status code option in the Content section of resource or rule settings.


Specify any HTTP code except  408, 444, 494, 495, 496, 497, 499 codes in the Status Code field.

You can add only one HTTP code to the field. 

Specify a URL for a redirect or an HTTP status code text, If you need.


Important! If you activate Status Code in the resource settings, it applies to all CDN content.

If you need to apply HTTP code only to certain files, use this option in the Rules section.

Was this article helpful?
Recently viewed articles