3.7.6. Category meta tag generation

You can use meta tags to give a search engine information about your website. These tags are shown in the header of an HTML document are not directly visible to the visitor of your website. With the category meta tag generator there arises a new way to automatically add meta titles and descriptions to all categories within a few settings and parameters.

Following settings are made globally. If you wish to generate meta tags per category which are based on selected filter options then please proceed to chapter 3.7.10 Category meta tag generation (based on filters).

 

Figure 145 Category Meta Tag Generation (admin panel)

 

 

You can modify the settings in the Magento 2 Admin Panel. Navigate to STORES / SETTINGS / CONFIGURATION. On the left you will find MAGESUITE and its subcategory SEO. Expand CATEGORY METATAG GENERATION to change your modifications.

 

  • IS ENABLED: Set this option to “YES” if you want to generate meta titles and descriptions from given 
    patterns below.

  • META TITLE: In this textfield you can determine your pattern for the meta title. You can also use directives, such as {{category_name}} (returns the current category name) and {{filter_values}} (returns applied filter value). The directives will automatically change the meta tag to applied category and filter value.

  • META DESCRIPTION: In this textfield you have the possibility to determine your pattern for the meta description. You can also use directives, such as {{category_name}} (returns the current category name) and {{filter_values}} (returns applied filter value). The directives will automatically change the meta tag to applied category and filter value.

 

Figure 146 Generated meta tags on the storefront (source view)

 

 

When the changes have been made click “SAVE CONFIG” on the upper part on the right-hand side.

Related content