Skip to main content

SEO templates and rewrites

This page describes configurations of SEO templates and SEO rewrites.
They are located in Stores -> Configuration -> SEO templates and rewrites.

General settings

  • Apply store prefixes to custom titles: applies page title prefix/suffix to the custom meta title. Title's prefix/suffix is set in Content -> Design -> Configuration -> Design configuration -> HTML head.
  • Allow HTML in meta tags: allows usage of HTML symbols in meta tags (&, <, >, etc.).

Use existing meta tags

This section describes configurations that control the use of predefined meta tags. If enabled, meta tags are taken from the relevant, non-empty fields in the basic SEO settings (if a field is empty, the template generates a value). If disabled, the template overwrites all fields.

  • Category pages: defines for category pages.
  • Product pages: defines for product pages.
  • CMS pages: defines for CMS pages.
  • Blog pages: defines for category pages. Requires Mirasvit Blog module.
  • Brand pages: defines for category pages. Requires Mirasvit Layered Navigation module.

Maximum length settings

These configurations control character limits for meta elements.

  • Meta title: sets the maximum length of the meta title. If the actual meta title is longer, it will be automatically cropped. If a value of less than 25 is set, the default value of 55 characters will be used instead.
  • Meta description: sets the maximum length of meta description. If the actual meta description is longer, it will be automatically cropped. If a value of less than 25 is set, the default value of 150 characters will be used instead.
  • Product name: sets the maximum length for the product name. If the actual name is longer, it will be automatically cropped. If a value of less than 10 is specified, the default value of 25 characters will be used instead.
  • Product short description: sets the maximum length for the product description. If the actual description is longer, it will be automatically cropped. If a value of less than 25 is specified, the default value of 90 characters will be used instead.

Paginated content settings

Settings in this section are responsible for displaying pagination in meta elements.

  • Add pagination to meta titles: defines how page numbers appear in meta titles for paginated content:
    • Disabled: don't add.
    • At the beginning: before meta title. Adds page number from the second page.
    • At the end: after meta title. Adds page number from the second page.
    • At the beginning(add to the first page): before meta title and from the first page.
    • At the end(add to the first page): after meta title and from the first page.
  • Add pagination to meta descriptions: defines how page numbers appear in meta descriptions for paginated content:
    • Disabled: don't add.
    • At the beginning: before meta description. Adds page number from the second page.
    • At the end: after meta description. Adds page number from the second page.
    • At the beginning(add to the first page): before meta description and from the first page.
    • At the end(add to the first page): after meta title and from the first page.
Examples

Pagination to meta title at the beginning: page 2 | meta title.
Pagination to meta title at the end on the first page: meta title | page 1.
Pagination to meta description at the end: meta description | page 2.
pagination to meta description at the beginning of the first page: page 1 | meta description.