NetlifyRedirectPrefix Field
Sets the prefix used when NetlifyPrefixRedirects is true (^ by default).
Namespace
Statiq.Web
Containing Type
WebKeys
Field Type
string

Syntax

public const string NetlifyRedirectPrefix

Remarks

This prefix is checked after document destinations have been set and file name optimization has been performed (I.e. if OptimizeContentFileNames and/or OptimizeDataFileNames is true) so the prefix should be specified without those optimizations in mind (I.e. it should generally not use characters in OptimizeFileNameReservedChars unless alternate optimization settings have been specified).

Constant Value

Value Type
NetlifyRedirectPrefix String