Magento 2

Basic SEO Optimizations for Magento 2

January 16, 2022

Basic SEO Optimizations for Magento 2

In this article, we’ll learn the  basic but essential SEO optimizations for Magento 2 for your store to rank well on Google.

SEO optimizations for Magento cover

Hey you programmer, okay? Let’s learn a little about SEO with Magento 2.

SEO for e-commerce is essential, being in a good position on Google can increase your sales exponentially

So it is necessary that you make adjustments in your store, in order to be better ranked

And the good part is that Magento is SEO friendly, that is, it has a lot of settings that help you improve your SEO without having to write code

Enter the admin and on the side menu go to Content | Configuration | Choose your store or go to Global and enter the edit link

We’ll have access to the HTML Head, where we’ll make our first settings:

Here you will have a series of fields to fill in:

  • Favicon: your shortened logo that appears in the browser tab;
  • Default Page Title: main store title, as it will be found on Google;
  • Page Title Prefix: title that appears before all page titles, for example on products – Store X: Product Y;
  • Page Title Suffix: same case as Prefix, only after the page title;
  • Default Meta Description: Suggested leaving empty, make the meta description on all pages of your site to have greater relevance, but if you want to fill in to display something on pages you forgot or there is no meta description, feel free;
  • Default Meta Keyword: Same case as above;

Another important detail is on the Search Engine Robots tab, in non-production environments leave the NOINDEX, NOFOLLOW option enabled

This will cause your hosted development versions not to be indexed on Google so as not to confuse your customers

Now back to the side tab, go to Marketing | SEO & Search | URL Rewrites, alias this SEO & Search tab there are many interesting links

In URL Rewrites you can redefine all the URLs of your pages (products, CMS, categories and etc) so that they are more SEO friendly

For example removing numbers or special characters that might not go away for SEO

Simply edit the Request Path field to the desired one and a redirect will be created from the new URL to the one created previously, both will appear on Google and redirect the same page

Going back to the Marketing menu, let’s select Search Terms now

Here we can define pages for users to be redirected depending on the term they search for

By making it you will create synonyms for the same product and  increase its access rate

When the user searches for testing, he will be taken to the product URL automatically

Going back in the Marketing menu, under New Site Map it is possible to generate the Sitemap of your site

Some apps like Google ask for this file to index the URLs and products in it.

Making changes appear faster once you send the file to them

With these options we’ve already been able to advance a lot in SEO optimizations in Magento 2, notice how the framework is rich in settings


In this article we learned the initial settings that can help us a lot with SEO (Search Engine Optimization) optimizations in Magento 2

Of course this was just a start, we will bring SEO topics in categories and products as well, and other topics

That will help your store further and enrich your sales and your presence on Google

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x