Search engine optimization custom field
Overview
Sitefinity CMS SEO automation functionality dynamically generates page URL and title when content is rendered in detailed mode. The Meta description tag inside the page HTML is taken from the Page SEO settings and stays the same for all content items displayed on the page.
You can use custom fields of type Search engine optimization to render specific Meta title or Meta description per content item.
PREREQUISITES: To work with the Search engine optimization custom field, you need to turn on SEO Properties from Advanced settings. For more information, see Turn on metadata for MVC widgets.
To add a custom field to a content item, perform the following:
- Perform procedure Create custom fields » Step 1 to Step 5.
- In the Type dropdown box, select Search engine optimization.
- In Meta field, select which HTML Meta tag you want to control with this custom field. For more information, see Configure Meta title and Meta description.
NOTE: You cannot modify the Name of the custom field because it is hard-coded to match the meta field you are setting up.
- Click Continue.
A window appears where you must configure the appearance of the custom field, such as labels and instructions.
General
On this tab, perform the following:
- In the Label input field, enter the label of the textbox.
- If needed, in Instructional text, enter instructions or explanatory text for the textbox.
The text is displayed when the content editor clicks the question mark icon in the backend when editing the item containing this custom field.
- If you want to make the textbox mandatory, select the This is a required field checkbox.
- If you have a multilingual site, select or deselect the Make localizable checkbox.
This allows you to translate the field into different language versions.
By default, the checkbox is selected.
When configuring dynamic content types, you can find this setting under More options.
Limitations
On this tab, perform the following:
- In Number of characters allowed, enter the minimum and maximum number of characters a user can enter in the textbox.
If you do not want to impose limits on the textbox, leave the Max input field empty and the Min input field 0.
- In Recommended characters, enter the maximum number of characters that the content editor will see under the field when modifying its content.
When finished, click Done.
The new field appears in the list of custom fields for the respective module.
If you want to delete a custom field, click
.
Save your changes.