Association of custom fields and Open Graph meta properties
NOTE: If you do not turn Open Graph properties on, even if you configure the fields, the settings will not take effect.
The following is the correlation between the custom fields that you create in a static or dynamic content module and the Open Graph meta properties that are added to the <head> tag of the page:
OpenGraphTitle
- If you do not create a field named
OpenGraphTitleor you create one, but do not fill it out, Sitefinity CMS adds meta propertyog:titleand takes its value from the Titlefield of the static content type or from the field that you have configured as identifier field of the dynamic content type. - If you create a custom field
OpenGraphTitleand fill it out when you create the content item, Sitefinity CMS adds meta propertyog:titleand takes its value from what you have entered inOpenGraphTitlefield.
OpenGraphDescription
- If you do not create a custom field named
OpenGraphDescriptionor you create one, but do not fill it out, Sitefinity CMS checks whether the content type has a custom field named Description.- If the content type has a custom field named
Description, but it is empty, Sitefinity CMS does not add a meta propertyog:description. - If the content type has a custom field named
Descriptionand it is filled out, Sitefinity CMS adds meta propertyog:descriptionand takes its value from what you have entered inDescriptionfield.
- If the content type has a custom field named
- If you create a custom property
OpenGraphDescriptionand fill it out when you create the content item, Sitefinity CMS adds meta propertyog:descriptionand takes its value from what you have entered inOpenGraphDescriptionfield.
OpenGraphImage
- If you do not create a custom field named
OpenGraphImageor you create one, but you do not fill it out, Sitefinity CMS does not add a meta property. - If you create a custom field
OpenGraphImageand fill it out when you create the content item, Sitefinity CMS adds meta propertyog:imageand takes its value from what you have entered inOpenGraphImagefield.
OpenGraphVideo
The behavior of this custom field is the same as the OpenGraphImage field.
Automatically added properties
In addition to the above properties, by default, Sitefinity CMS adds the following meta properties to the <head> tag of the detailed page:
og:typeog:url
This is the canonical URL of the content itemog:site_nameThis is the name of the site where the detailed page appears.- If you have multisite, the value is the name of the current site. For more information on changing the site name see: Edit sites and set site permissions.
- If you have a single site, the default value for the site name is "Default". You can change it by going to the Sitefinity CMS backend, and navigating to Administration -> Settings -> Advanced -> Project -> Default site and changing the Name property.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your 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 ASP.NET Core and take advantage of its decoupled architecture and modern development model.