Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Mintlify.Core.Models.Error404Config

Summary

Represents the configuration for 404 (Not Found) error handling in the Mintlify documentation site.

Remarks

This configuration controls what happens when users try to access pages that don’t exist, including whether to automatically redirect them to the home page.

Constructors

.ctor

Syntax

public Error404Config()

Properties

Redirect

Gets or sets whether to automatically redirect users to the home page when a 404 error occurs.

Syntax

public System.Nullable<bool> Redirect { get; set; }

Property Value

Type: System.Nullable<bool>

Remarks

When true (default), users who navigate to non-existent pages will be automatically redirected to the home page of the documentation site. When false, users will see a standard 404 error page instead. Automatic redirection can improve user experience by keeping users within the documentation rather than showing error pages.