Magento 2 SEO Suite Ultimate Manual

SEO Suite Cover

Introduction

SEO Suite Ultimate extension is designed to increase site visibility of a Magento-based websites in the search and reduce search engine optimization workload. With this SEO toolkit, the merchants can create quickly optimize large amounts of meta data with advanced SEO templates for product/category pages; easily generate HTML and XML sitemaps, implement hreflang tags, build well-planned internal linking structure and do a lot more essential SEO activities.

Requirements and Installation

SEO Suite Ultimate supports both Community and Enterprise edition of Magento starting from version 2.1. The current version of the Magento installed on your website can be found in the lower right corner of any backend page.

Magento 2 Version

SEO Suite Ultimate has 2 separate ways of installation: via Composer or by copying the code.

You can use our Repository for extension installation as well.

Extension Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO

SEO Suite Configuration

From here, the store owners can manage all the main extension settings. The extension consists of several separate submodules that will be described in the corresponding sections of this guide. For your convenience, you can select the module you need to configure from the right navigation menu and set it up according to your requirements.

SEO Base

Glossary

Meta Robots

To be visible in the search results, the webpage must be visited by the Web crawler. Generally, when the Web crawler visits some website, it reads all the links on the pages and then analyzes their value, and includes the usefule ones in its index. Meta robots tags are pieces of code that provide crawling instructions for the search engine bots.

If the store owners don’t need some webpage to be crawled by the web spider, they need to put the NOINDEX tag on this page.

NOFOLLOW tag tells the Web crawler not to follow any links it finds on that page, thus hiding them from indexation. Note that if one of the mentioned pages is also linked from somewhere else (e.g. from another page), the crawler can still find and index it via that other link.

Thus, using NOFOLLOW is not the best practice to ensure that the content won’t get into the search results, NOINDEX is the best way to hide such pages. The eCommerce websites have some peculiarities over the ordinary website. Content may dynamically change, products get out-of-stock, prices go up and down, new products appear in some categories, etc. The website caching may provide some irrelevant information over time.

To avoid displaying the cached version of the page, the store owners can use the NOARCHIVE tag. This tag only removes the Cached link for the page. Google will continue to index the page and display its snippet.

Canonical

If the store owners have some particular page that is accessible from multiple URLs or different pages with similar content, they need to explicitly indicate which URL is the most reliable one (canonical). Otherwise, the Web crawler will have to choose it on its own or consider both addresses as equivalent, and this can lead to undesirable consequences when the irrelevent page appears in the search results. You can specify canonical tags for various types of pages (product, category, layered navigation, reviews pages) separately.

Hreflang

If the store owner is running a multi-language store with exactly the same content localized for different languages that may lead to duplicate content issues. To avoid it, the store owner should inform the Web crawler that all these pages are just the alternate versions of the original one.

The hreflang tag helps the Web crawler understand which version of your website should be shown in certain locations. Thus, the search engine will deliver the correct language version of the site to the targeted foreign audience. Also, if the hreflangs are used, the Web crawler won’t treat these localized pages as duplicates.

SEO Base Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. Select the first SEO Base tab.

SEO Base Configuration

This tab provides the initial setup of the extension configuration. It consists of 3 tabs.

Meta Robots Settings

SEO Base Configuration

The robots meta tag allows utilizing a granular, pagespecific approach to search engine indexation. Our extension places the robots meta tag in the <head> section of a given page, which tells search engines how this page should be treated. From here, you can set Robots Meta Header for HTTPs pages. If Use Config setting is selected, the settings below are taking into account for the HTTPs pages.

The extension allows putting the meta robots tags for such pages without content as RSS, Checkout, Sitemap, Wishlist etc.

The store owner can specify the meta robots for literally any page. You can use catalog_category_view code for categories and catalog_product_view for products. The support of the wildcards allows making the flexible setup according to the plan of the store owner.

SEO Base Configuration

Disabling the Set NOINDEX, FOLLOW for Category LN Pages unfolds another setting, Count of filters for set NOINDEX, FOLLOW for LN. That configuration is necessary to limit the number of indexed pages informing the search engines about how deep they may drill down when crawling and how many layers of filters they can index. So, if we put 2 here, all the filters combinations with 3 or more filters selected will be excluded from the search results.

Robots for Attributes Combinations setting provides the ability to manage the indexation strategies for filter combinations. If several attributes are selected, the comma between them like index,follow: color,brand sets the meta robots tag when either color or brand attributes are selected; the plus sign like noindex,follow:color+brand sets the meta robots tag when both attributes are selected.

Making all the filters INDEXED can lead to the big number of links and the drop of the link equity. On the other hand, making all of them NOINDEXED may not meet the business goals. It may be usefull to limit the number of the INDEXED pages via the Robots Meta Header for HTTPs and to grant the INDEX, FOLLOW or INDEX, NOFOLLOW to some particular and important filters or filter combinations.

Set NOINDEX, FOLLOW for LN Filters with Multiple Selection if enabled, adds this robots tag to any link that has at least two selected filters options from some particular filter. So, for instance www.site.com/category.html?color=49&size=56 won't have the NOINDEX, FOLLOW tag, while www.site.com/category.html?color=49_56 will. The quantity of filters is irrelevent, if some filer has 2 options selected at the same time, the NOINDEX, FOLLOW tag will be added.

Use Cases

Click here to see the practical Use Cases of this functionality.

Canonical URLs Settings

First of all, the store owner needs to disable the standard Magento canonical in STORES ⟶ Configuration ⟶ CATALOG ⟶ Catalog ⟶ Search Engine Optimization


Magento 2 Canonical

After that, the changes made in STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO ⟶ Canonical URLs Settings will be taken into account.

SEO Base Configuration

Our extension adds rel=canonical tag in the <head> section of a given page. This tag is designed to inform the search bots which URL is the most reliable (canonical) version of the page being displayed. It helps to prevent any duplicate content issues.

SEO Base Configuration

The first setting enables adding the rel=canonical tag in Meta Header.

Then the store owner can disable the canonical URL for pages with NOINDEX robots this can be useful due to the fact that the NOINDEX pages won't be shown in the search results.

Finally, the store owner can and specify the pages, the canonical URL won’t be added for.

SEO Base Configuration

In case the store owner has different domains within one Magento with quite similar content, it’s generally recommended to define the main website using a Cross Domain Canonical Tag. It can be either selected from the dropdown that contains the list of the Store URLs or by adding the custom URL. If you select e.g. domain1, the canonical tags for other websites will be domain1/product.html.

If the product has some children options/variants (like in cases with configurable, grouped products or product bundles), they can either be visible individually or hidden. In case they are shown separately, it may create duplicate content issues. To avoid this possible problem, the store owner can specify the product type. The children of these products in case they are visible individually, will get the canonical of the parent.

SEO Base Configuration

Under these settings, the store owner can add or remove (crop) a trailing slash to the homepage canonical URL and the canonical URLs of other site pages. By enabling this feature, you will avoid duplicate content issues with your Web crawler. For instance, if the Web crawler indexes both www.example.com/category/ and www.example.com/category as two separate pages, adding a trailing slash to the canonical URL will solve the problem.

SEO Base Configuration

Use Pager for Category Canonical URLs allows the store owner to add or remove the pager from the canonical tag on the category pages.

The store owner can tell Google that your LN pages and category pages are actually one and the same. The Canonical tag for Category Layered navigation setting informs the search engine that the layered navigation pages are the copy of the most reliable (canonical) page. Such pages may be either

• the current category or

• targeted filtered page (e.g. brand).

It is also possible to disable the canonical tag on the layered navigation pages under this configuration.

For instance, if the filtered page option is enabled, the canonical tag will point to /apparel/l/color:black/shoe-type:dress.html, when store visitors filter products by color and product type.

If the current category option is selected, the canonical tag will point either to /apparel.html (if Allow All Products Per Page option is disabled in the Magento settings) or to /apparel.html?limit=all (if All Products Per Page is enabled).

Canonical Tag if any LN Filter use Multiple Selection manages the canonical for any link that has at least two selected filters options from some particular filter. The canonicals can be either the current category page or the targeted filtered page. So, for instance www.site.com/category.html?color=49&size=56 won't have the specific canonical, while www.site.com/category.html?color=49_56 will. The quantity of filters is irrelevent, if some filer has 2 options selected at the same time, the canonical will be changed.

All Products Per Page

The location of the All Products Per page setting is
STORES ⟶ Configuration ⟶ CATALOG ⟶ Catalog ⟶ Storefront.


Hreflang URL Settings

The hreflang tag helps the Web crawler understand which version of your website should be shown for a certain location. Thus, the search engine will deliver the correct language version of the site to the targeted foreign audience. Also, the crawler won’t treat these localized pages as duplicates.

Hreflang SEO Suite

Hreflang URL Scope alows the store owner to specify the Alternate URLs Scope. It can be set as Website or as Global. If Website is selected, the Alternate URLs work within one website only, if Global — the Alternate URLs work between websites.

Enable Hreflang URls enables or disables the usage of the hreflangs.

Hreflang SEO Suite

The store owner can specify the usage of the hreflangs for the Categories, Products, CMS Pages and custom Landing Pages.

Hreflang SEO Suite

Bear in mind that the hreflang settings can be managed depending on the store view. To change the store view use the dropdown on the upper left side of the configuration page.


Hreflang SEO Suite

Sometimes, the store owner may need to configure the Magento installation to make each Store View have a different default language.

Use Language Code from Default Locale allows overwriting the default Locale of the storeview. The default value can be seen in STORES ⟶ Configuration ⟶ GENERAL ⟶ General ⟶ Locale Options. If this needs to be modified, the store owner can change this value in this setting.

In case the store owner has, for instance, one page for English speakers in Canada and the other page for the audience in the States, it’s necessary to add a country code for the alternate URLs. Add Country Code setting enables this feature. If the store owners need different country code from the one that is set up in the Magento configuration, they can change the Use Country Code from Magento Settings option and select the desired country code.

Hreflang SEO Suite

X-default setting provides the special x-default attribute. This attribute informs the Web crawler that such pages do not target any specific country or language and can be displayed to site visitors when no other page corresponds to their localized queries.

<link rel="alternate" href="http://example.com/en-us" hreflang="en-us" /> //this is for english-speaking (en) visitors from the United States (us)
<link rel="alternate" href="http://example.com/es-mx" hreflang="es-mx" /> //this one is for spanish-speaking (es) visitors from Mexico (mx)
<link rel="alternate" href="http://example.com/" hreflang="x-default" /> //that is the x-default version of the page

Localized CMS pages all have different IDs and most likely — different URL keys. That may trigger the following issue: the system just won’t be able to define the localized versions of the same page, and hence won’t add the alternate URLs. To solve that, you need to connect pages of these type by means of the CMS Page ID, URL key or the hreflang ID specified in the individual CMS page settings.

The table below (Overview of Alternate Hreflang Settings) provides the possibility to quickly check all the settings that have been made. In this example, the Default Store View has the x-default attribute, hreflang is enabled for categories and products, hreflang is disabled for the CMS pages. The second store view uses French hreflang for the visitors from France and the third one is for the spanish-speaking visitors from Spain.

Hreflang SEO Suite

rel="next/prev" tag is used to better index paginated categories. This tag points the Web crawler, where exactly the first and the last pages are, and what page is a next or a previous one.

Individual Settings

Additionally, the store owner can tweak meta robots tags for each product, category and CMS page individually. Product pages support the individual canonical settings, CMS pages have the hreflang ID settings.

Categories

For the categories settings, go to PRODUCTS ⟶ Inventory ⟶ Categories, select the desired Category and open the Search Engine Optimization tab.

SEO Category

The Meta Robot settings allow changing the robots tags individually.

Products

For the products settings, go to PRODUCTS ⟶ Inventory ⟶ Catalog, select the desired Product and open the Search Engine Optimization tab.

SEO Product

The Meta Robot settings allow changing the robots tags individually.

The Cross Domain Store and Cross Domain URL are added to define the main website using a Cross Domain Canonical Tag. It can be either selected from the dropdown that contains the list of the Store URLs or by adding the custom URL. If you select e.g. domain1, the canonical tags for other websites will be domain1/product.html.

Below, the store owner can create the custom canonicals. This can be done on the Custom Canonical URLs grid page as well.

SEO Product

To enable the custom canonicals functionality, select the Use Custom option in the Canonical URL setting.

This provides the possibility to select the Store View. The Type allows specifying the target canonical type.

  • Custom URL

SEO Product

The URL field supports both absolute http://www.site.com/custom/url and relative /custom/url URL values.

  • Product

SEO Product

To select the desired product, click the Choose button and select the desired product.

  • Category

SEO Product

This type shows the category tree. You can filter the products by using the search box.

  • CMS

SEO Product

This type shows the list of the CMS pages. You can filter the pages by using the search box.

CMS Pages

For the CMS pages settings, go to CONTENT ⟶ Elemets ⟶ Pages, select the desired CMS page and open the Search Engine Optimization tab.

SEO Sitemap Pages

The Meta Robot settings allow changing the robots tags individually.

The Hreflang Identifier is the hreflang ID setting for linking CMS pages in the hreflang URL settings configuration.

Custom Canonical URLs

To observe, edit and add the custom canonical URLs, go to MARKETING ⟶ MageWorx Canonical URLs ⟶ Custom Canonical URLs.

SEO Product

Please note that during the initial setup this grid will be empty.

This grid shows all the canonicals that have been created here or individually.

The columns can be sorted alphabetically by clicking the column title. You can select several canonicals and click the Edit button on the Actions dropdown.

To create a new canonical, click the Add New Custom Canonical URL button.

SEO Product

The Canonical From workspace is the initial page that should have the custom canonical. The Canonical To handles the page that should be used as the canonical URL.

First, the store owner should select the Store View.

Then, the Type should be specified.

  • Custom URL

SEO Product

The URL field supports both absolute http://www.site.com/custom/url and relative /custom/url URL values.

  • Product

SEO Product

To select the desired product, click the Choose button and select the desired product.

  • Category

SEO Product

This type shows the category tree. You can filter the products by using the search box.

  • CMS

SEO Product

This type shows the list of the CMS pages. You can filter the pages by using the search box.

When the edits are done, click the Save Custom Canonical URL button.

Category Grid (Mass Edit)

The grid provides the possibility to apply mass edits for the category pages. All the settings added by our extension for the categories individually, can be assigned in bulk. To observe the category grid and apply the edits, log into the Magento Admin panel and go to MARKETING ⟶ MageWorx SEO Category Grid ⟶ SEO Category Grid.

SEO Category

From here, you can select any category and change the corresponding values in the meta sections (meta title, meta description, meta keywords), apply the desired meta robots, handle the breadcrumbs priority, choose whether you should allow the usage of the categories in the crosslinks, specify the redirects priority, add the special SEO Name (it replaces the default Category name), and decide whether you should add the category to the XML and HTML sitemaps.

To select several categories in the grid at the same time, click the checkbox in the first column. To apply the changes, hit the Save Edits button.

You can mass apply some value to all the categories selected by choosing it in the yellow row above the categories. Click the Apply button for such operation.

SEO Extended

Glossary

Meta Information

Metadata can help the crawler understand what the content on the page is about and give visitors valuable insight into what the content is on any given page on the website. Meta elements are part of a webpage's <head> section. Multiple Meta elements with different attributes can be used on the same page. Meta elements can be used to specify page title or description, they are visible in the search results.

Meta Title

Meta title serves as the title of any given webpage. Search engines display them prominently on the search engine results pages. Actually, meta title is the main way users can find out the name of the page they've found on the results page. So, actually, besides being a quite important parameter for Web crawlers, the store owner can also use it to influence users. Title tags should be no longer than 70 characters (with spaces).

Meta Description

Meta descriptions describe the content on the webpage in greater detail. The content of the meta description is not a ranking factor. But it is vital to encourage users to click on the website URL. The meta description tags should be no longer than 280-320 characters with spaces. If no description is set up, the search engine will automatically pull any snippet of text instead, which may lead to misunderstanding with searchers and worsen the page click through rate (CTR) index.

Meta Title and Description

The meta title and meta description shown on the search engine results page.

SEO Extended Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. Select the second SEO Extended tab.

SEO Extended Configuration

This tab provides the initial setup of the extension configuration. It consists of 2 tabs.

Meta Settings

SEO Extended Configuration

The Add Pager Number to Meta Title setting allows the store owner to add a page number to the meta title of a paginated page. Such number can be added at the end Apparel | Page 3 or at the beginning Page 3 | Apparel.

Add Pager Number to Meta Description provides the possibility to add the page number to the meta description. The number can be either at the end or at the beginning.

Enabling the Remove Default Title Prefix/Suffix setting, shows the Pages block where the store owner can provide the list of the pages where the default suffix/prefix should be omitted. The store owner can specify the meta robots for actually any page. You can use catalog_category_view code for categories and catalog_product_view for products. The support of the wildcards allows making the flexible setup according to the plan of the store owner.

Enabling Extended Meta Title and Meta Description on category layered navigation pages allows generating meta title and meta description dynamically for pages of this website. Meta title and meta description can include a variety of different product attributes such as product name, price, color, brand and others.

SEO Extended Configuration

Besides, from here, it’s possible to enable the extended Meta Title and Description on landing pages filtered by layered navigation.

This way, you’ll auto-generate such meta values: 



Meta Title: Men’s jackets | Price: $100.00 - $500.00 and above, Color:Silver, Black, White. 


Meta Description: Check out hot summer deals on men’s jackets! Available throughout July-August | Price: $100.00 - $500.00 and above, Color:Silver, Black, White.

Category Filters

SEO Extended Configuration

Enable SEO for Category Filters Functionality enables the possibility to populate the specific meta information for specific filter+categories combinations. More details on this can be found here.

SEO Filters for Multiple Filter Selection. Assume several attributes are selected and all of them have some meta information. If this setting is disabled, the meta inofrmation won't be changed. If this setting is enabled, then the extension will choose the product attribute with the highest priority and will show the meta information for this particular filter.

Attribute Position

The priority is based on the position of the product attribute. To check the position of the product attribute, go to STORES ⟶ Attributes ⟶ Product, select the desired attribute and click the Storefront Properties tab. The lower the number here, the higher the priority.

Manage SEO Category Filters

The SEO Suite Ultimate extension allows turning the pages filtered by Layered Navigation into regular store pages with SEO value. That can be beneficial in various ways:

  1. If there are no sub-categories in the store, such pages can successfully perform their role.

  2. These pages can be fully optimized for any specific search queries; thus, shoppers who are searching for brand new red Ferrari will land on a page with highly relevant results.

  3. The optimized pages of this type can extend and strengthen your website architecture.

To check or modify SEO Category Filters, go to MARKETING ⟶ MageWorx SEO Extended ⟶ Manage SEO Category Filters.

SEO Category Filters

Please note that during the initial setup this grid will be empty.

The columns can be sorted alphabetically by clicking the column title.

To create a new category Filter, click the Add New SEO Category Filter button.

SEO Category Filters

Here, the store owner can select the appropriate Product Attribute and the Store View (so actually, it is possible to make different pages for different store views).

SEO Category Filters

The merchant can choose the desired attribute value and the category where this filter should be applied.

From here, the store owner can specify the Meta Title, Meta Description, Meta Keywords and Description. The Description is the text visible on the frontend.

SEO Name setting, if populated, will be displayed instead of the default name on the frontend.

The dynamic variables and randomizers are supported.

Variables and Randomizers

Here is the list of the variables that can be used

Variable Code Description
[category] Outputs a current category name.
[categories] Outputs a current categories chain starting from the first parent category and ending a current category.
[parent_category] Outputs a parent category name only.
[parent_category_N] N is the number such as 1, 2, 3 etc. The orders of the parent categories is as follows: site.com/parent_category_3/parent_category_2/parent_category_1/category.html.
[website_name] Outputs a current website name.
[store_name] Outputs a current store name.
[store_view_name] Outputs a current store view name.
[filter_all] Inserts all the chosen attributes names. The structure is "Label1 Value1, Label2 Value2" like "Color Red, Size M".
[filter_attribute_code] Inserts the attribute value (if exists). E.g., [category] in [filter_color] will be parsed as "Shoes in Color Red".
[filter_attribute_code_label] Inserts the product attribute label. E.g., [category] filtered by [filter_color_label] will be parsed as "Shoes filtered by color".
[filter_attribute_code_value] Inserts the product attribute value. E.g., [filter_color_value] [category] will be parsed as "Red Shoes".

Randomizer feature allows the store owner to randomly pick the values on every page refresh. The construction like [Buy||Order||Purchase] will use a randomly picked word. Randomizers can be used within other template variables. In this case, variables should be put inside the braces {} not brackets []. Only one variable can be used inside the construction.

SEO Breadcrumbs

Glossary

Breadcrumbs

A breadcrumb is a graphical element that reveals the user’s location in a website. A breadcrumb trail shows each page viewed by a visitor of a website, either in the order the pages were viewed, or in other definitions, displaying a hierarchy of the current page in relation to the website's structure. The breadcrumbs can usually be found in websites that have a large amount of content organized in a hierarchical manner.


The breadcrumbs shown on the category page in Magento 2.


Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. Select the third SEO Breadcrumbs tab.

SEO Breadcrumbs

Setting Enable SEO Breadcrumbs to Yes enables the advanced breadcrumbs populated by means of our extension and disables the default ones.

The Use Category Priority option adds the prioritized categories for breadcrumbs. Then, you can specify the breadcrumbs type:

Default — to use the default Magento breadcrumbs.

Use Shortest — to utilize the shorten version of breadcrumbs (e.g. Store > Category > Product).

Use Longest — to utilize the full path of breadcrumbs (e.g. Store > Category > Subcategory 1 > Subcategory 2 > Product)

To configure SEO Breadcrumbs priority for categories, go to MARKETING ⟶ MageWorx SEO Breadcrumbs ⟶ Breadcrumbs Priority

SEO Breadcrumbs

Breadcrumbs priority for categories is used when a product is assigned to multiple categories. The category with a higher priority will be shown in the breadcrumbs hierarchy, while the categories with a lower or not specified priority will be excluded from the breadcrumbs chain. This page allows specifying the priority for each category. The grid support Actions. For this, click the checkboxes near the categories that you wish to modify and click the Edit link on the Actions dropdown. Click the Save Edits button to proceed.

The breadcrumb priority of the category can be set up in the Category Configuration as well. For this go to PRODUCTS ⟶ Inventory ⟶ Categories, select the desired Category and open the Search Engine Optimization tab.

SEO Redirects Breadcrumbs Priority

The category with the higher Breadcrumbs Priority number will be shown.

This can be done on the Category Grid as well.

SEO URLs

SEO URLs functionality provides the possibility to equip layered navigation pages with SEO and user-friendly URLs.

SEO URLs Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. Select the fourth SEO URLs tab.

SEO URLs

From here, the store owner can optimize URLs of any page filtered by the layered navigation and any category page. URL Structure is very important for the SEO purpose as this creates the links logic for the site. The key solution is the golden mean between being short and neat on one hand yet SEO-friendly and functional on the other. By default, Magento generates URLs for layered navigation pages using the so-called GET-parameters.

Such URLs may have such structure: www.site.com/category.html?color=49&size=56. The numbers here are the options IDs and it is absolutely impossible for the client to correlate the ID with the specific filter option. The pages with GET-parameters can have a lower visibility in search results and a lower CTR. So in order to find and share such links (from the clients side) and be fully presented in the search engine result pages (from the store owner side), LN URLs should be SEO-optimized.

If the Enable for LN filters is set to Yes the aforementioned URL will be changed to www.site.com/category/women/l/color=black/size=m.html

Here the /l/ is the SEO LN URLs Indentifier. It can be set in to make the layered navigation URLs SEO-friendly by separating the category and the applied filters.

The default way to display the pagination in the URLs is using the GET-parameters, e.g., www.site.com/category.html?p=2. Enable for Pager URLs lets you modify the format of the pagination. The Pager Format can be

  • -[pager_var][pager_num] (e.g., www.site.com/category-p2.html

  • /[pager_var]/[pager_num] (e.g., www.site.com/category/p/2.html

The default pager_var is p. You can modify it and change to any other value by editing the field "Pager Var" Parameter.

Enable Redirects from SEO LN URLs to Default URLs provides the possibility to set up the 301 redirects from SEO friendly Layered Navigation URLs to Magento default URLs.

Use Cases

Click here to see the practical Use Cases of this functionality.

SEO Markup

This module comes as a part of SEO Suite Ultimate, as well as a separate extension. For the detailed configuration instructions, check the full Magento 2 Extended Rich Snippets extension manual.

This module comes as a part of SEO Suite Ultimate, as well as a separate extension. For the detailed configuration instructions, check the full Magento 2 Cross Links extension manual.

SEO Redirects

Glossary

Redirects

A redirect is a way to quickly and discreetly send both users and search engines to a different URL from the one they originally requested. The two most commonly used redirects are 301 and 302. Redirects tell the search engine robots that there has been a change in the URLs page and that they have to go somewhere else, permanently (301 redirect) or temporarily (302 redirect). Redirects are highly imporatant for the eCommerce websites because their structure is constantly changing: the products may get fully sold out, the supply may be completely stopped, the categories can be deleted and so on. So the correct setup of the redirects is very important and helps to avoid the possible sales loss.

301 redirect

By using the 301 redirect, the store owner tells the search engine robots that this page is no longer available in this location and that it should no longer be indexed. A 301 redirect is a permanent redirect which passes almost all the ranking power of some specific page to the redirected page. In most instances, the 301 redirect is the best method for implementing redirects on a website. Since a 301 permanently leads visitors from the old URL to a new one, in should be used only if the store owner is sure that the old URL will never be used again. If we need to use the URL again, a temporary redirect should be created.

302 redirect

A 302 status code is commonly referred as “temporarily moved.” This redirect doesn’t carry or pass the ranking power to the new destination. What it does do is getting the user to another location so that the client won't see the error pages/404 etc. The 302 can be useful in case the product becomes out of stock. For instance, you have a product that you no longer have on sale – e.g.: seasonal or out-of-stock products. In this case, you might want to use a 302 redirect to send the user to the category page. When using the 302 redirect you are telling the search engine crawlers that your content is just offline temporarily, and they should keep the value of that page intact and not pass it to another URL.

Redirects for deleted products and custom redirects

When you delete a product, customers who use the direct link may get onto the 404 page and leave your website. To avoid this, you need to create a temporary or permanent redirect for such product pages. Also, with the extension, you can set custom redirects for any category or CMS page.

SEO Redirects Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. Select the SEO Redirects tab.

SEO Redirects

Under these settings, you can find the initial setup of the extension configuration. It consists of 2 tabs.

Custom Redirects

SEO Custom Redirects

Here, the store owner can enable/disable all custom redirects at once.

Keep URLs For Removed Entities needs some clarification. For instance, you've redirected a category to a product page. If you decide to delete this category, the extension will use its custom URL. Thus, the category-product redirect will be transformed into the custom URL-product, where the custom URL is a deleted category URL.

If this setting is off, such redirect gets broken, because the extension can’t find the deleted category in case its ID is missing.


Redirects For Deleted Pages

SEO Redirects For Deleted Pages

From here, the store owner can enable or disable redirects.

Also, under these settings, the store owner can set:

Redirect Type — either 301 Moved Permanently or 302 Found pages redirect can be selected here.

Time period (in days) to keep redirects on the website — the option is used to set a number of days to keep the set redirect(-s) active. You can set it for the period from 30 to 365 days.

Default Redirect To allows selecting the destination of the redirect: product category or priority category.

The difference between product category and priority category can be explained and best understood through example:

  1. If a product was assigned to a single category A - subcategory A1 and the setting is set to redirect to a product category, the redirect will be created for the subcategory A1 despite the set priorities.

  2. If a product was assigned to both category A - subcategory A1 AND to category B - subcategory B1, and the setting is set to redirect to a product category, the redirects will be created to both subcategory A1 AND to the subcategory B1:

• the URL such as www.site.com/categoryA/subcategoryA1/product.html will be redirected to www.site.com/categoryA/subcategoryA1/.

• the URL such as www.site.com/categoryB/subcategoryB1/product.html will be redirected to www.site.com/categoryB/subcategoryB1.

In this case if the setting is set to redirect to the priority category, the redirects will always be set to the one with the higher priority. The priority of the category can be set up in the Category Configuration. For this go to PRODUCTS ⟶ Inventory ⟶ Categories, select the desired Category and open the Search Engine Optimization tab.

SEO Redirects Categories Priority

The category with the higher Product Redirect Priority number will be shown if the priority category setting is selected. This can be done on the Category Grid as well.


Custom Redirects Configuration

To observe, edit and add the custom redirects, go to MARKETING ⟶ MageWorx SEO Redirects ⟶ Custom Redirects

SEO Redirects

Please note that during the initial setup this grid will be empty.

The columns can be sorted alphabetically by clicking the column title. You can select several redirects and click the Edit button on the Actions dropdown.

To create a new redirect, click the Add New Redirect button.

SEO Category Filters

The Status provides the ability to enable the redirects. After that the store owner should select the desired Store View and the Redirect Code (either 301 or 302).

The Redirect From and Redirect To settings provide the similar functionality. It allows selecting the option from the dropdown field. The values can be:

  1. Custom URL.

    The Redirect From field supports only the relative URLs /custom/url while the Redirect To field supports both absolute https://www.site.com/custom/url and relative /custom/url URL values.

  2. Product.

    To select the desired product, click the Choose button.

    Once the store owner clicks the Choose button, the products grid appears. You can filter the products selecting the category from the category tree and using the search boxes in the column headers.

  3. Category.


    To select the desired category, click the Choose button.

    Once the store owner clicks the Choose button, the category tree appears.

  4. Page.


    To select the desired page, click the Choose button.

    Once the store owner clicks the Choose button, the page grid appears. You can filter the pages using the search boxes in the column headers.

  5. Custom Landing Pages.


    To select the desired page, click the Choose button.

    Once the store owner clicks the Choose button, the page grid appears. You can filter the pages using the search boxes in the column headers.

Import/Export SEO Redirects

The extension has the possibility to export the Custom SEO Redirects and to import them. Log into the Magento Admin panel and go to SYSTEM ⟶ Data Transfer ⟶ Import/Export SEO Redirects.

SEO Redirects For Deleted Pages

This workspace has 2 separate import/export formats: the simple one and the full format.

Simple Import/Export Format

The simple format supports redirects set from a custom site URL to another URL of the current website or any other one. If added manually without the simple format import, this stands for such configurations combination:

SEO Redirects For Deleted Pages

To check the simple format structure of the SEO Redirects CSV file, click the Download example CSV file. The CSV structure is as follows:

"Request Identifier","Target URL","Redirect Code","Store View Code"
"test","http://site.com/test.html","301","default"
"iphone_8","http://site.com/iphone_x","302","second"
"tablets","http://site.com/smartphones","301","all"

I The Request Identifier is the relative URL that is located on the store owner's website that should have the redirect, same as the Redirect From URL field on the previous screenshot.

II The Target URL is the URL that can be located anywhere (it supports absolute URLs) same as the Redirect To URL field on the previous screenshot.

III The Redirect Code supports both 301 and 302 values.

IV The Store View Code can be checked on the Store View Information page. To check this code, go to STORES ⟶ Settings ⟶ All Stores. Select the desired store view and check the Code:

SEO Redirects For Deleted Pages

To create the redirects for all store views on your Magento installation, use the "all" store view code.

Full Import/Export Format

The full format supports all the possible Custom Redirect Types formats: Custom URLs, Products, Categories and Pages.

To check the full format structure of the SEO Redirects CSV file, click the Download example CSV file or Export SEO Redirects (Full Format). The CSV structure is as follows:

"Request Entity Type","Request Entity Identifier","Target Entity Type","Target Entity Identifier","Redirect Type","Store ID"
"product_id","1","category_id","5","301","0"
"category_id","2","category_id","6","301","1"
"product_id","3","page_id","6","301","1"
"custom_url",'test.html',"product_id","7","302","2"
"page_id","3","custom_url","http://blog.site.com","301","0"
I The Request Entity Type is the Custom Redirect Type and it can be custom_url, product_id, category_id or page_id.

II The Request Entity Identifier can have the different values depending on the Request Entity Type:

  • For the custom_url this is the the relative URL that is located on the store owner's website that should have the redirect

  • For the product_id it is the product ID that is visible on the products grid in CATALOG ⟶ Products:

SEO Redirects For Deleted Pages

  • For the category_id it is the category ID that is shown near the category name when the category is selected on the category workspace in CATALOG ⟶ Categories:.

SEO Redirects For Deleted Pages

  • For the page_id it is the ID of the page that is visible on the pages grid in CONTENT ⟶ Elements ⟶ Pages:

SEO Redirects For Deleted Pages

III The Target Entity Type has the same values as the Request Entity Type (I).

IV The Target Entity Identifier has the same values as the Request Entity Identifier (II).

V The Redirect Code supports both 301 and 302 values.

VI The Store ID can be checked on the Store View Information page. To check this code, go to STORES ⟶ Settings ⟶ All Stores. Select the desired store view and check the URL:

SEO Redirects For Deleted Pages

Redirects For Deleted Pages

To view and edit the redirects for deleted pages, go to MARKETING ⟶ MageWorx SEO Redirects ⟶ Redirects For Deleted Pages

SEO Redirects

Please note that if the website doesn't have the deleted pages, this grid will be empty.

The columns can be sorted alphabetically by clicking the column title. You can select several redirects and click the Edit button on the Actions dropdown.

Here, you can conveniently manage redirects of this type:

enable or disable redirects for certain deleted products;

• change the product category or priority category;

• view the number of hits (clicks) for each redirect;

• temporary disable the redirects using the Edit button on the Actions dropdown.

• permanently delete an unneeded product from the ‘Redirects’ grid using the Edit button on the Actions dropdown.

SEO Extended Templates

This module comes as a part of SEO Suite Ultimate, as well as a separate extension. For the detailed configuration instructions, check the full Magento 2 SEO Meta Templates extension manual.

SEO Sitemap

This module comes as a part of SEO Suite Ultimate, as well as a separate extension. For the detailed configuration instructions, check the full Magento 2 Sitemap Suite extension manual.

Got Questions?

MageWorx offers FREE lifetime support and updates for any extension developed for Magento. Need help with the extensions? Feel free submit a ticket from https://www.mageworx.com/support/ 



MageWorx offers outstanding services developing custom-tailored solutions for Magento platform to attain your eCommerce objectives. Our professional impassioned team provides profound and custom oriented development of your project in a short timeframe.