SEO General Configuration

All SEO settings are located at Marketing -> Advanced SEO Suite > Settings -> SEO and breaks into the following sections:

General Settings

  • Add Canonical URL Meta Header - If the option is enabled, tag <link rel="canonical" href="http://store.com/" /> will be added to the META-tags of your store.
  • Use longest product URL as canonical - If category path is used in products URLs and some product reside in several sub-categories - the deepest category tree path will be used for canonical meta tag. Require enabled option "Use Categories Path for Product URLs" from the Configuration > Catalog > Catalog > Search Engine Optimization.
  • Associated Products Canonical Tag for Configurable Products - if set to "Parent Product": if a Simple Product has a Configurable Product as a Parent Product, then for the simple Product the Canonical URL will be a Configurable Product URL.
  • Associated Products Canonical Tag for Grouped Products - if set to "Parent Product": if a Simple Product has a Grouped Product as a Parent Product, then for the simple Product the Canonical URL will be a Grouped Product URL.
  • Associated Products Canonical Tag for Bundle Products - if set to "Parent Product": if a Simple Product has a Bundle Product as a Parent Product, then for the simple Product the Canonical URL will be a Bundle Product URL.
  • Canonical to store without store code - provide possibility to cut store code from the canonical URL if option "Configuration->GENERAL->Web->Add Store Code to Urls" is enabled
  • Cross Domain Canonical URL - sets the default cross-domain canonical URL for a multistore configuration. For more information see Cross-domain Canonical URL.
  • Prefer https for Cross Domain Canonical URL - Use https url for Cross Domain Canonical.
  • Add '?p=' to paginated content - if set to "Yes" - canonical link will include information about current page, otherwise canonical on paginated content will point to category URL.
  • Don't use canonical URLs on pages - the list of pages where the Canonical Meta tags will not be added. Can be a full action name or a request path. Examples:

    Example

    *cell-phones* - exclude URLs which contain the phrase 'cell-phones'
    *cell-phones/nokia-2610-phone.html -  exclude URLs which have end path: 'cell-phones/nokia-2610-phone.html'
    catalogsearch_result_index
    catalogsearch_advanced_index
    catalogsearch_advanced_result
    checkout_cart_index
    checkout_onepage_index
    cms_index_noroute
    
    Wildcards are allowed:
    customer_account_*
    customer/account/*

  • Robots Meta Header - allows you to tell robots not to index the content of a page, and/or not to scan it for links to follow. URL pattern can be a full action name or a request path. Wildcards are allowed. Examples:

    Example

    *cell-phones*                           INDEX, NOFOLLOW
    *cell-phones/nokia-2610-phone.html      NOINDEX, NOFOLLOW
    customer_account_*                      NOINDEX, NOFOLLOW
    /customer/account/*                     NOINDEX, FOLLOW
    *?mode=list                             INDEX, NOFOLLOW
    
    Examples for layered navigation:
    filterattribute_(manufacturer)          INDEX, NOFOLLOW
    filterattribute_(1level)                NOINDEX, NOFOLLOW
    

    Read more about Robots.txt.

  • Robots Meta Header for HTTPS - allows to add headers like "NOINDEX, FOLLOW", "INDEX, NOFOLLOW", "NOINDEX, NOFOLLOW" only for https store.

  • Enable Link Rel="next/prev" - adds pagination <link rel="next/prev" .. > to the head of your products list pages. This feature is highly recommended by Google.

    Note

    Please note that if AJAX technology is used on some of your pages(for example on categories), a human user may need to refresh(reload) the page to check actual canonicals, alternates and href lang tags in the source code of a page (because they are not altered by AJAX). But as Google crawlers always load page anew when they follow any URL - search engine's bots will always see correct meta data on your page(meta data is designed for search engines rather than for human visitors).
  • Enable Link Rel="alternate" and hreflang - sets "alternate" and "hreflang" tags for multilingual stores. More detailed information:

    If you have multilingual store, you need to configure a second "hreflang" parameter ("language" from country/language pair) for those store views which need this. To set the appropriate language for the store view, go to Stores > Configuration > General and select the required store view. At the tab Locale Options select the appropriate Locale for this store view and save it. This selected Locale Code will be the first code of the hreflang parameter. To set the alternate and hreflang tags, go to SEO > Settings and select the appropriate Store View where you use another language. Untick the Use Website on the line Enable Link Rel="alternate" and hreflang and select the value Add for everywebsite from the drop down list. After this action, a new field will appear: Hreflang locale code (not necessary) where you can additionally set the language code which will be added to the alternate URL as a second parameter.

    Alternatively you may set "Enable Link Rel="alternate" and hreflang" option to "Configure manually". This way you may manually determine what store views are alternative versions of each other by setting them the same store group, individually determining HrefLang part of alternate meta link for each store. All configuration in this case takes place on "Default Config" scope in the admin panel.

    Note

    This is an optional setting that is meant for adjusting alternate links combination is you are not happy with automatic generation of those links. If you are not sure what to enter in those fields - using "Add for every website" setting of "Enable Link Rel="alternate" and hreflang" is recommended.

    Note

    Google does not recommend to use the URLs with parameter for the multilingual stores ?, such as: http://store.com/yourpage.html?___store=french. To get more information about Google multilingual URLs requirements, you can read this article: Multi-regional and multilingual sites

    How to set "alternate" and "hreflang" tags for CMS pages

    To tell the Magento system that some of CMS pages are "alternates", you need to add these page in one Alternate group. Alternate group - is an additional parameter which is added by our module (can be used by any word in this field). CMS page will have alternate links of pages with the same Alternate Group name.

  • Cut category additional data for alternate URL - if the store uses different attributes name will be added after using SEO filter

  • Use meta tags from categories if they are not empty - if the option is enabled, Meta Title, Meta Description and Meta Keywords from the General Information tab will be applied to the child categories (only if they are not empty). If the option is enabled, the SEO values from the category General Information tab prevail over the category SEO tab. To apply H1 to the current category, add H1 text to Page Header in the General Information tab. If meta tags from the parent category are empty, the child categories and products will only use their own meta tags.

  • Use meta tags from products if they are not empty - if the option is enabled, Meta Title, Meta Description and Meta Keywords from the product Meta Information tab will be applied to the products (only if they are not empty). If the option is enabled, the SEO's values for the product's Meta Information tab prevail over the category's SEO tab.

Extended Settings

Option Description
Page Number for Meta Title Adds Page Number to the Meta Title. Example: Page 2 | Meta Title Text.
Page Number for Meta Description Adds the Page Number to the Meta Description. Example: Page 2 | Meta Description Text
Allow use HTML symbols in meta tags Allow use HTML symbols like &, < etc. in meta tags.
Max Length for Meta Title Set maximal length of Meta Title. If actual Meta Title is longer, it will be automatically cropped. If value less than 25 was set, default value of 55 characters will be used instead.
Max Length for Meta Description Set maximal length of Meta Description. If actual Meta Description is longer, it will be automatically cropped. If value less than 25 was set, default value of 150 characters will be used instead.
Max Length for Product Name Set maximal length for Product Name. If actual Name is longer, it will be automatically cropped. If value less than 10 was specified, default value of 25 characters will be used instead.
Max Length for Product Short Description Set maximal length for Product Description. If actual Description is longer, it will be automatically cropped. If value less than 25 was specified, default value of 90 characters will be used instead.
Redirect urls to lowercase If set to Yes, allows to automatically redirect all URL's, typed in mixed case, to the same URL, but in lower case.

SEO-friendly URLs Settings

Option Description
Remove Parent Category Path for Category URLs If enabled, removes parent category path for category URLs.
Product URL Key Template Allows to set URL key template for store pages. Leave empty to disable.

Note

In the template you can use any product attribute as variables in format [product_attribute](e.g. [product_name], [product_brand]).

To activate a new Product URL Key Template, click the button Save config to apply changes. After that run ssh command: php bin/magento mirasvit:seo:product-url-template --apply to activate URL template
Trailing Slash Manage trailing slash “/” at the end of each store URL. See below possible options.

Note

There are 3 options for Trailing Slash parameter:

  • Disabled
  • Redirect to same page with Trailing Slash - if some URL does not fit to the settings of trailing slash, user will be redirected to the same URL, but with proper trailing slash.
  • Redirect to same page without Trailing Slash - user will be redirected to the same page, but without Trailing Slash.

Images

Note

After changes in this section clear cache at Stores -> Tools -> Cache Management to apply changes. These options are store-dependent, so you can have different URL policy on different stores.
Option Description
Enable SEO-friendly URLs for Product Images If enabled, extension will replace URLs of product images by more SEO-friendly ones according to the template. This option affects product images on product view, product list pages and in the Google sitemap.
Template for URL key of Product Images Defines template, which will be used for generation of Product Images URLs.
Enable generation of Product Images Alt and Title If enabled, extension will automatically insert Alt HTML attribute to all product images. This option affects product images on product view, product list pages and in the Google sitemap.
Template for Product Images Alt and Title Defines template, which will be used for generation of Product Alt and Titles.

Note

In templates you can use variables like: [product_name] [product_sku] [by {product_manufacturer}] [color {product_color}].

Example:

  • Template for URL key of Product Images: [product_name]
  • Actual URL: http://www.example.com/pub/media/catalog/product/m/b/mb04-black-0.jpg
  • Rewritten URL: http://www.example.com/pub/media/product/28fb/strive-shoulder-pack.jpg

Just the same will be done for Alt and Title attributes.

Info (visible in frontend, will not work if FPC or Varnish is enabled)

This section governs special SEO Toolbar block, that can be displayed on frontend, as shown on screenshot below:

seo_toolbar.png

Option Description
Show Info Enable SEO Toolbar. It will become visible in the frontend of the store. Has three modes: Disabled, Enabled and Enabled if Cookie Exists (see note below for more info).
SEO Toolbar position Allows to select, where to display Info block: Left or Right.
Show info only for Defines a list of IPs (comma separated), visitors from which shall see SEO Toolbar. Leave empty for access from any location.

Note

You can restrict SEO Toolbar display by creating a special bind to your workstation (very useful for developers with dynamic IP).

For that you need to log in to backend from your workstation, set Show Info to Enabled if Cookie Exists, and then press Add Cookie button, that will appear. This will create on your browser cookie, that will act as access password.

You can remove this cookie anytime, by pressing Delete Cookie button.