Open the menu

    SEO & Sharing

    This feature allows for the registration of content where information can be specified for better control of elements used specifically for SEO (Search Engine Optimization) and sharing on social media.

    This feature is supported by services of the content type. To enable it in the service, the metadata seo must be added to the source of the content.

    By default, the portal automatically uses fields from the content to fill in these SEO and sharing elements. Content that has this feature has a "SEO & Sharing" area in its registration, displayed below, which allows for the registration of specific values to be used instead of its automatic filling.

    SEO metadata.

    When clicking on edit definitions, the form below is displayed:

    Edit definitions form.

    In the form, each field has the option to have its value set from the content automatically, or to have a specific value filled in the registration. The exact way each field is used may depend on customizations of the solution. Below is the explanation of each field and how they are used in the default behavior of the portal:

    • SEO
      • simple page title: This is used together with the title pattern to generate the title of the content detail page. When defined by the content, the corresponding field value for the content title is used.
      • page title pattern: This is the pattern used to generate the title of the content detail page. By default, it is used in the title tag of your HTML. When defined by the content, the standard inherited from the detail page will be used.
        The following variables are available to be used:

        Example:
        Given a pattern Promotions! ${sep} ${siteName} ${sep} ${title}, a page called List belonging to a website called Lumis Store would generate the title Promotions! | Lumis Store | List.
      • description: This field defines the text that will be used as the description for external search engines. By default, it is used in the meta tag of description in your HTML. When defined by the content, the value of the field corresponding to the content introduction is used.
      • URL path: This field defines the URL path of the content. This path can be absolute (starting with /) or relative (not starting with /). If it ends with /, the content will be generated in a folder. Otherwise, it will generate a file. The file extension (.html, for example) should not be included in this configuration. It will be added by the platform automatically.
      • title in the URL: This field defines the text that should be used in the process of generating the friendly URL of the content detail page. When defined by the content, the value of the field corresponding to the content title is used.
      • canonical URL: This field defines the canonical URL that should be used in the process of generating the content detail page. When defined by the content, the value of the field corresponding to the content URL.
    • Social media sharing
      • title: This field defines the text that will be used as the title in shares for social media. By default, it is used in the meta tags of og:title and twitter:title in your HTML. When defined by the content, the value of the field corresponding to the title of the content is used.
      • description: This field defines the text that will be used as the description in shares for social media. By default, it is used in the meta tags of og:description and twitter:description in your HTML. When defined by the content, the value of the field corresponding to the content introduction is used.
      • image: This field defines the text that will be used as the image in shares for social media. By default, it is used in the meta tags of og:image and twitter:image in your HTML. When defined by the content, the value of the field corresponding to the content introduction image is used. This field uses the media repository associated with the content service instance for selecting the image.