Use the URL field to define the relative path of your webpage (for example, /home or /projects/new-project) where your content is published. This helps maintain consistent routing and improves content discoverability.
You can configure field properties and set a default URL pattern for entries of a specific content type.
You can:
Tip: Use the Instruction Value to provide examples such as /about or /blog/title to guide contributors.
After you configure this field in a content type, it appears in the entry editor.
Note:
You can add a regular expression (regex) to a URL field to validate accepted URL formats. If a value does not match the pattern, a custom validation error message appears.
Add regex validation when a URL field must follow a specific structure, for example, when you accept only HTTPS links, only URLs from a specific domain, or only paths that match a naming convention.
To set regex validation for a URL field, perform the following steps:
Note: Validation is applied when an entry is saved. If a value does not match the regex, the configured validation message appears. Learn more about the Validation (Regex) property through our documentation.
You can define a prefix to prepend a static path to generated URLs. Prefixes help organize URLs into consistent sections such as blogs, products, documentation, or campaigns.
Examples:
When a prefix is configured, it is automatically added before the generated URL pattern.
Example:
Generated URL: /blog/2026/04/my-first-post
You can define URL patterns and prefixes to automatically generate structured entry URLs. Use patterns when you want consistent, scalable URL structures across entries.
In the Content Type Builder, you can enter a pattern manually or select values from a dropdown. These values are replaced with entry data when generating the URL.
Note: URL pattern configuration and advanced formatting options are available only with URL Management V2. Contact our support team to enable this feature.
You can include:
Syntax: /blog/:locale/:field[title]
Example: /blog/en-us/my-new-post
Note: Only single-value text fields (such as Single Line Textbox or Multi Line Textbox) can be used in URL patterns. Multiple-value fields are not supported.
In the Advanced tab, you can control how URL values are formatted.
You can define:
Use the Content Management API to prevent duplicate entry URLs across your stack.
To enforce unique URLs using the API, perform the following steps:
If a duplicate URL is detected, the URL field displays an error and prevents publishing until a unique URL is entered.
Additional Resources:
To enforce unique entry URLs via API, refer to the Add Stack Settings API request.