SEO Templates Management
The SEO Templates option is a powerful and flexible tool for managing the meta information on your store pages according to defined rules.
NoteMeta tags are defined in SEO Templates and can be overwritten by the same tags filled in the SEO Rewrite Manager.
Go to Marketing > Advanced SEO Suite > SEO Templates. Here you can find all information about existing templates, edit them and create new SEO templates.
To add a new SEO Template, go to Marketing > Advanced SEO Suite > Templates and click Add SEO Template.
- Internal Name - give the template a name.
- Rule Type - determine the pages that the SEO Template will be applied to.
It will determine the pages that the SEO Template will be applied to. You may choose one of three types:
- Product - to apply the template to product pages.
- Category - to apply the template to category pages.
- Results of layered navigation - to apply the template to the filtered Layered Navigation pages.
- Meta title - allows you to rewrite the meta title tag of the targeted pages.
- Meta keywords - allows you to rewrite the meta keywords tag of the targeted pages.
- Meta description - allows you to rewrite meta description tags of the targeted pages.
- Title (H1) - allows you to change the header of the targeted pages.
SEO description - allows you to add additional SEO information about a rewritten store page. More detailed information:
This field is not required, but can increase Google indexation. A SEO description block will be added in a position which you can configure in "SEO description position" setting.
SEO description position - allows you to determine where SEO Description blocks will be displayed on the page. More detailed information:
You can choose from one of these predefined options: Bottom of the page, Under Short Description, Under Full Description, Don't add automatically or select the option "Under custom template", which will provide an additional field "Template for adding SEO description", where you can fill in the desired template path, for example: < magento_root_folder >/app/code/Magento/Catalog/view/frontend/templates/product/view/additional.phtml . You may determine the necessary template path by temporarily enabling "Template Path hints for StoreFront" from Stores > Settings > Configuration > Advanced > Developer > Debug Admin Panel section.
- Product short description - allows you to rewrite a short desctiption on the product page. Only available for templates based on product rule types.
- Product description - allows you to rewrite the description on the product page. Only available for templates based on product rule types.
- Status - indicates whether the template is enabled or disabled.
- Apply for the Store View - you can select the store views where the template will be added
- Sort Order - you may define the importance of the template. If more than one SEO Template is assigned to a single page, it will be applied to the template with the highest value of sort order parameter.
On the Condition tab section of the SEO Template configuration page, you may define conditions that will trigger the template. The Template condition consists of two parts: a combining condition, and one or several sub-conditions. The sub-conditions are tied together by a combining condition. You can change ANY to ALL and TRUE to FALSE. Thus, a combining condition can have one of these four forms:
- If ALL of these conditions are TRUE
- If ALL of these conditions are FALSE
- If ANY of these conditions are TRUE
- If ANY of these conditions are FALSE
You can set multiple sub-conditions by clicking the round + button. This will open a drop-down list with product attributes. However, not every attribute can be used to generate template conditions. First of all, the attribute property Use for Promo Rule Conditions must be set to Yes. To set this option to active, go to Stores > Attributes > Product, open the edit page of the required attribute and click on the Storefront Properties tab. At this section, you can change the Use for Promo Rule Conditions setting.
You can create multiple-levels of sub-conditions by using a combining condition. Select “Condition combination” in the drop-down list and you will get a combining setting similar to the one at the top level. Under it, you can add a new branch of attribute-based sub-conditions.
Sub-conditions come in the form of “attribute name” + “operator” + “value”.
The “operator” depends on the attribute type and can be:
- is / is not - used for single entity (for example: SKU)
- equals or greater than / equals or less than
- greater than / less than
- is one of / is not one of - used for multiple entities (for example: selected categories)
- contains / does not contain
NoteStop Further Rules Processing - If enabled, the template will be applied to the page even if another rule with a higher sort order value is applicable.
Apply to child categories - If the category is set in Conditions, the template will also be applied to all child categories.