User Tools

Site Tools


Sidebar

magento_2:meta_tags_templates

For more details see the Meta Tags Templates for Magento 2 extension page.

Meta Tags Templates for Magento 2

With Meta Tags Templates extension you can automatically generate meta tags as well as descriptions for:

  • Product pages
  • Category pages
  • Any site page by URL

Functionality has hierarchical structure. That means you can choose the category and specify all the tags for:

  • Current category
  • Sub categories
  • Products in current category
  • Products in subcategory

A range of complex variables can be used in tags and descriptions.


General Settings

To specify general extension settings please go to Stores→Configuration→ SEO Meta Tags Templates

Max Title/Description Length - Specify the SEO appropriate length.

Replaced Filled Metadata - If you set the option to No all previously created meta tags won’t be replaced except for empty ones. In case you set the option to Yes you’ll replace all meta information.

Apply Template for Product URLs - Click on this button to apply the template for all previously created products.

Category Page - You can disable meta tags functionality for category pages.

Category-based templates

To create product meta tags templates by category please go to Content→ Amasty Meta section→ Meta Tags by Category.

Main Category

Category is - Select the category to which the template should apply.

Apply for - Select store views to which the template will apply.

Products in Main Category

Title - create a template for meta title tag.

You can use complex variables like {brand|manufacturer|provider}. In that case, for products with brand attribute, brand value will be used for meta tags; for products with manufacturer attribute, manufacturer value will become a meta tag and so on.

Meta Description - create a template for meta description tag. You can use the same variables as for meta title tag.

Keywords - create a template for product keywords.

H1 Tag - will be used as a name of the product on the product page.

Short Description create a template for short product description.

You can also use complex variables like {brand|manufacturer|provider}.

Product Full Description - create a template for short product description.

Use all the variables as well as complex ones in category tags and descriptions.

Sub Categories

Title, meta description, keywords, H1 tag and description are specified similarly to the product tags.

You can add meta information for Sub Categories and Products in Subcategories similarly to the Products in main category.

For subcategory pages you can also specify Image Alt.

Text after product list - Write the text which will be displayed after product list on category page.

URL-based templates

To create URL-based template go to Content → Amasty Meta section→ Meta tags by Custom URLs.

Specify URL of the page you want to create a template for.

Specify URL of the page you want to create a template for.

You can specify meta tags, title, etc. for any page on site, e.g. Contact Us, Partnership, etc. It’s very useful for SEO to specify meta tags for the pages when attribute is chosen - i.e.
 www.example.com/tshirts?color=blue

Also, you can create it for any product page. In such a way all the settings specified in Category-based template will not affect the product.

Specify Canonical URL for the page.

Robots - You can make the page ‘no follow’ and ‘no index’ by search engines.

Front-end

This is an example of a text after product list .

Here’s short description generated according to the template. The full description for this product was also generated according to the template.

Here’s a front end example of product page. As you can see in the source code, the meta title for the product page was generated according to the template.

Find out how to install the Meta Tags Templates extension for Magento 2 via Composer.

Rate the user guide
 stars  from 2 votes (Details)
magento_2/meta_tags_templates.txt · Last modified: 2017/10/20 14:46 by panamarenka