Magento SEO Optimization Best Practices

You are here:
Estimated reading time: 3 min

Magento, founded in 2008, has become a leading eCommerce platform worldwide. It’s estimated that around 270,000 stores run on Magento world-wide. While Magento 2 is a very powerful platform, if you’re running on its default SEO settings, you’re not going to get great SEO results out of it.

In this article, we’ll explain what you need to do in order to get your Magento store into top shape, all set for maximum SEO performance.

There are a lot of e-commerce development agencies that offer Magento custom development and optimization services, but we will try to show you how you can set up and optimize your Magento store without spending a penny. You should also admit that professional Magento development services cost money.

In order to rank your Magento store well in the organic search listings, you need to make sure search engines can easily and efficiently find all your content and make sense of it, and that they have reasons to rank your content higher than others.

Headers and Tags

Magento does create title tags automatically, but Magento developers will tell you to create them manually and the easiest route is by creating different product groups. By doing this, you can predefine title tags and assign them per product groups. Speaking of tags, make sure you use Header Tags properly; H1, H2, and H3 tags with a clear hierarchy.

Optimize The Magento SEO URLs

If you search for how to do SEO on Magento, every article mentions that you need to create the Magento SEO URL keys for the web pages. It is better if the URLs of your website do not have any codes.

In terms of Magento SEO features, you can follow these steps to clean URLs: Store => Configuration => General => Web => URL Options, and then set Add Store Code to URL to “No”.

After this configuration is saved, product/category codes will not be automatically added to your URLs, which makes Magento SEO URL more friendly.

To radically clean URLs, in the Search Engine Optimization menu, turn Server URL Rewrites to “Yes”. The phrase “index.php” will be removed from your URLs as well.

Use Proper Keywords

Magento 2 has default sample content for product title and description, but it is not standard for Magento SEO practices. You need to edit them by go to Content => Design => Configuration.

The UI will show you a Design Configuration table, choose for example a store view you want to edit. In Other Setting => HTML Head.

Meta title and description should be keyword-rich and unique for SEO in Magento. With the title, one rule is putting important keywords near the beginning of your title as much as possible in order for search engines to realize them more easily.

In the description, the keyword also needs to appear as well. One more thing is eliminating words like “the”, “and” from your title. Do a similar action for category title and description, you will have a more SEO-friendly site.

Nofollow Links

There are many pages you don’t want to be indexed by the search engines like checkout, my account, cart, and admin. You will want to add “nofollow” links to these types of pages. Be sure to add entries to your robots.txt file. Also, make sure your robots.txt setting is Index, Follow.

Avoid Duplicate Content

Having unique content is one of the key factors in the Magento SEO tip. Search engine crawlers take it low on-site with duplicate content (multiple URLs pointing to the same or similar content).

To solve this, you should explicitly tell Google which URL is authoritative (canonical) for that page. If you do not do this explicitly, Google will make that choice for you or might consider them both of equal weight, which might lead to unwanted behavior.

That’s also the benefit of the canonical tags – one of the Magento tags SEO.

In the Default Magento SEO setting, you can manage to use Canonical Tag for both Product and Category. To enable the Canonical Tag option to figure out this problem. Go to Store => Configuration => Catalog => Catalog => Search Engine Optimization.

Then Set ‘Use Canonical Link Meta Tag For Categories’ to Yes, ‘Use Canonical Link Meta Tag For Products’ to Yes. By doing all of these configurations, SEO in Magento will be effectively optimized in every aspect.