如何为Kentico Kontent内容项的Meta标签页添加自定义字段
Got it, let's break down exactly how to add custom fields like a Secondary URL to the Meta (SEO & URL) tab in your Kentico Kontent content items—since the default docs don't spell this out clearly for custom fields:
Step 1: Create your custom field in the content type
- Go to Content model in your Kontent project and open the content type you want to modify.
- Click Add element and choose the appropriate field type (for a Secondary URL, pick Text or URL).
- Name it (e.g., "Secondary URL") and configure any validation rules you need (like URL format checks).
Step 2: Move the custom field to the Meta tab via UI configuration
- Still in the content type editor, click the UI configuration tab at the top.
- You'll see the default tab groups—look for the one labeled SEO & URL (this is the Meta tab you see on content items).
- From the list of available fields on the left, drag your new "Secondary URL" field into the SEO & URL tab group.
- Rearrange it alongside existing fields like Path or Navigation title if you want, then save the UI configuration.
Step 3: Verify the change
Open any content item of that type, switch to the Meta tab—you should now see your custom Secondary URL field right alongside the default ones, ready for users to fill in manually.
One quick tip: If you want this custom field to appear across multiple content types, you can create a content snippet containing the field, reuse the snippet across all relevant types, then adjust each type's UI configuration to move the snippet's field into the Meta tab. This saves you from recreating the field from scratch every time.
内容的提问来源于stack exchange,提问作者john3399

