SEO settings in Magento 2

Magento-2-SEO-setting

 

Whether you like it or not, Magento 2 is officially here, and one day you will need to switch to it. Magento developers have done a lot to improve many aspects of Magento and took into consideration different ideas and suggestions made by Magento community.

Amasty team decided to look deeper at SEO aspects of Magento 2 and created a list of SEO settings available to Magento 2 users out of the box. I will cover some of them in this post. Additionally, we created an infographic with a full list of Magento 2 SEO settings, so you can save it for further reference.

Meta Data

In addition to standard default titles and meta descriptions that can be set per store view via HTML Head fields, there is a new great solution for products: Product Fields Auto-Generation. This feature is a real time saver as it lets to set a pattern which is used to generate titles and meta descriptions for all products automatically.

But one of the drawbacks of such a method is that there is no opportunity to customize auto generation per products groups in case you need it.

Canonicals

If you choose to apply canonical tags to category pages under Search Engine Optimization settings in Magento 2, you can be sure that sorting and filtering pages with parameters will also have a canonical tag pointing to the main category URL. While this way of handling partially duplicate content is not ideal, it is undoubtedly better than having all numerous URLs with parameters indexed by Google.

XML Sitemap

In addition to standard XML sitemap settings like crawl delay and update frequency, Magento 2 provides an opportunity to automatically include images to your sitemap which is quite beneficial when it comes to ranking in Google Images. Moreover, you can enable an option to add your XML sitemap URL to the robots.txt file.

Robots.txt

Magento 2 has an awesome new setting: you can edit your robots.txt file from the admin grid. So there is no need to use FTP or something like that each time you need to change something. However, don’t forget to use Google Console (former Google Webmaster Tools) to test how the directives found in your file work.

Rich Snippets for Products

Great news! Magento 2 provides microdata for product pages by default. There is no option to edit it via the admin panel but there is no need anyway. This markup will help you get rich snippets on Google search results page. Though the included tags are rather basic, they are quite enough to get more visibility. However, if you need to add organization, breadcrumbs or other markup, you will have to use an extension or customizations.

Google Analytics and Google AdWords

Actually there is nothing complicated in setting up the Google Analytics and AdWords codes in Magento 1, but in Magento 2 it’s even simpler as there are special fields where you can insert the tracking codes without customizing the templates.

As you can see, Magento 2 has many improvements in terms of SEO. Of course, you may need some additional extensions and customizations if you have specific needs but basic requirements can be handled by a default Magento 2 installation.

Magento 2 SEO Infographic.