Automatic generation of metadata for Web Forms widgets

Sitefinity CMS SEO automation functionality dynamically generates page URL and title when content is rendered in detailed mode. The Meta keywords and Meta description tags inside the page HTML are taken from the Page SEO settings and stay the same for all dynamic content displayed on the page. 

If you need to render specific Meta keywords, Meta description, or Meta title per content item, you must open the advanced configuration of the widget by clicking the Advanced button.

  • In MetaKeywordsField, enter the keywords used for the detailed display of the content type.
    The runtime value of this field is used to set the page meta keywords tag. If you do not set it, the meta keywords tag remains as set in the page properties. This setting is effective in detail mode of the content view and the field exists as a property on the detail item type.

    NOTE: You can create a custom field in a module, call the field MetaKeywords, and for each content item, type different keywords. Then, if in the MetaKeywordsField of the module’s widget, you enter MetaKeywords (case sensitive), the Meta keywords tag of the content items in detail mode will show the value of the custom field. This functionality is also working in multi-lingual mode and shows the respective language keywords.

  • In MetaDecriptionField, enter the Meta description used for the detailed display of the content type.
    The runtime value of this field is used to set the page meta description tag. If you do not set it, the meta description tag remains as set in the page properties. This setting is effective in detail mode of the content view and the field exists as a property on the detail item type.

    NOTE: You can create a custom field in a module, call the field MetaDescription, and for each content item, type different description. Then, if in the MetaDecriptionField of the module’s widget, you enter MetaDescription (case sensitive), the Meta description tag of the content items in detail mode will show the value of the custom field. This functionality is also working in multi-lingual mode and shows the respective language keywords.

  • In MetaTitleField, enter the title used for the detailed display of the content type.
    The runtime value of this field is used to set the page meta title tag. If you do not set it, the meta title tag remains as set in the page properties. This setting is effective in detail mode of the content view and the field exists as a property on the detail item type.

    PREREQUISITES: In order for the change to take effect, you must set the PageTitleMode field in the Advanced settings of the widget designer. By default, the field is set to DoNotSet. You must enter Replace.

    NOTE: You can create a custom field in a module, call the field TitleTag, and for each content item, type different titles. Then, if in the MetaTitleField of the module’s widget, you enter TitleTag (case sensitive), the Meta title tag of the content items in detail mode will show the value of the custom field. This functionality is also working in multi-lingual mode and shows the respective language title.

    The setting of the MetaTitleField takes effect only when PageTitleMode field has been set to a value different than DoNotSet.

    The possible values of PageTitleMode field are the following:

    • Replace – the page title is replaced by the item's title.
    • Append – the item title is appended to the page title.
    • Hierarchy – the page title will be built by the item's title and its parent's title. This value is relevant only for the Forums widget.
    • DoNotSet – it indicates that the page title should not be altered.

NOTE: In MetaKeywordsField, MetaDecriptionField, and MetaTitleField you can enter a classification field. For example, if as MetaKeywordsField, you enter Tags, the Meta keywords tag is generated with values of the tags assigned to the particular content item. You can also use custom classification fields.

Tags

Was this article helpful?

Next article

Tracking consent