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, name the field MetaKeywords, and for each content item, type different keywords. Then, if in 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 MetaDescriptionField, 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, name the field MetaDescription, and for each content item, type different description. Then, if in MetaDescriptionField of the module’s widget, you enter MetaDescription (case sensitive), the meta description tag of the content items in detail mode will display the value of the custom field. This capability also works in multilingual 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 change the setting to Replace.

    NOTE: You can create a custom field in a module, name the field TitleTag, and for each content item, type different titles. Then, if in MetaTitleField of the module’s widget, you enter TitleTag (case sensitive), the meta title tag of the content items in detail mode will display the value of the custom field. This capability also works in multilingual mode and shows the respective language title.

    The setting of the MetaTitleField only takes effect 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, MetaDescriptionField, and MetaTitleField, you can enter a classification field. For example, if in 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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Tags

Was this article helpful?

Next article

Tracking consent