en
English Español Deutsch Français Italiano Português (Brasil) Русский 中文 日本語
Submit post
Go to Blog

Top 12 Killer Magento SEO Tips For Your E-Commerce Website

70
Wow-Score
The Wow-Score shows how engaging a blog post is. It is calculated based on the correlation between users’ active reading time, their scrolling speed and the article’s length.

Top 12 Killer Magento SEO Tips For Your E-Commerce Website

Ashok Sharma
Top 12 Killer Magento SEO Tips For Your E-Commerce Website

Magento is the most popular and fast-growing, open-source e-commerce platform on the planet, and there is no doubt that Magento is a necessity in today’s e-commerce marketplace due to its innovative and extensive customized features. Whether you are working professional and entrepreneur looking to build your e-commerce site or a large multi-channel retailer looking to enhance your online presence and increase your conversions, Magento is your premier e-commerce platform for growth.

Why Use Magento?

  • Magento Open Source e-commerce is fully equipped with a variety of features.
  • Magento gives merchants full control and flexibility over the design, the content and the functionality of their online shops.
  • Magento is Open Source e-commerce platform and is free to download.
  • Best eCommerce Platform for Online Selling
  • If you need assistance with Magento Open Source Magento Forums is available for sharing tips, tricks and support.
  • Like WordPress, Magento is one of the most search engine friendly e-commerce platforms.
  • Magento platform offers Mobile friendly configuration.
  • Magento e-commerce Platform is packed with various extensions that can be easily incorporated to fulfill business requirements according to the needs.
  • Magento is independently supported by thousands of developers and merchants worldwide

The Must Use Magento SEO Tips:

One of the concerns of many Magento users is SEO. Although Magento is already very SEO friendly when installed, there are many things that can still be improved upon. There are a number of Magento SEO tips people offer, with the top technical Magento issues that need to be fixed immediately listed below:

  • Duplicate content problem for many pages
  • Not-optimized HTML sitemap
  • Setup an XML sitemap in Magento 2
  • Optimize product images
  • Speed up your Magento 2 E-commerce site
  • Modify Robots.txt File
  • Issue with Magento 2 default Title and Description
  • How to add Meta Title and Meta Description for a Product/ Category and Content Pages in Magento 2
  • Enabling Search-friendly URLs in Magento 2
  • Remove default store code from URL
  • Add a Blog page to your Magento store
  • Get quality links to your store via different platforms

1. Duplicate Content Problem for Many Pages

Duplicate content is one of most common SEO issues affecting the thousands of Magento store-owners. To get rid of duplicate content we can use canonical tag Go to the Stores >> Configuration >> Catalog >> Catalog >> on right side scroll down to Search Engine Optimization and set Canonical LINK Meta Tags for Categories and Products to Yes.

Canonical LINK Meta Tags for Categories and Products

In Magento duplicate content, occurs because of the followings:

  • Product filtering
  • Product sorting
  • Pagination
  • Same product in different categories
  • Variation of the same product

Head over to a nicely written post for explaining the above 5 points - Common Duplicate Content Issues in Magento.

2. Not-optimized HTML Sitemap

Magento 2 does not support the auto-creation of HTML Sitemap by default. We need to implement some of the extensions which can solve the HTML sitemap issue in Magento 2. I personally used this extension Dynamic HTML Sitemap for Magento 2

Key Features of using HTML Sitemap for Magento 2:

  • It auto-generates an HTML sitemap for users and search engines and includes links to categories, products, CMS pages and store views of your Magento 2.
  • You can customize the listing order by comas.
  • Easily add external links in your sitemap file.
  • Your sitemap will be automatically updated when there are any changes in your store.

3. Setup an XML Sitemap in Magento 2

A XML sitemap is a file that contains all the pages of the website. Magento 2 equipped with better XML sitemap functionality. To enable the XML sitemap log in to your admin and Navigate to Stores >> Settings >> Configuration >> Catalog >> XML Sitemap.

Configuration of Sitemap.xml

In the drop-down menu fine-tune the settings for Category Options, Product Options and CMS Pages Options according to your necessities. And now open the Generation Settings select the following:

Enabled: Yes

Start Time: Insert time after 00:00 (Don’t choose exactly 00:00)

Frequency: Choose Daily

Error Email Recipient: You can leave this blank

Error Email Sender: You can leave this at ‘Use System Value’

Error Email Template: You can leave this at ‘Use System Value’

Sitemap.xml Generation Settings

Finally, on Search Engine Submission Settings set Enable Submission to Robots.txt to Yes and save changes.

Enable Submission to Robots.txt

4. Optimize Product Images

One of our top Magento SEO tips is to never forget to optimize product images for better search engine rankings. Make sure that all the images have proper alt-tags that describe the images because search engines can’t read images and we need to add proper alt text.

In addition, the important points to consider while creating alt-tags for images:

  • Always use a proper description and never try to stuff your keywords in alt-tag.
  • Give your images informative filenames. For example, my-new-black-kitten.jpg is a lot more informative than IMG00023.JPG
  • Alt-tags need to be short, clear and to the point.

To optimize the product Images In Magento 2, Login to admin >> Products >> Catalog >> in Configurable Products Double click on thumbnail >> Go to the detail page >> scroll down to Images and Videos >> Double click on images >> add alt text in the given field.

Optimize product images in Magento2

5. Speed Up Your Magento 2 E-commerce Site

Fast page loading speed can influence search engine rankings and this is one of the top Organic Search Ranking Factors. If your website loads quickly, the user will love to access it and search engines can reward you for it. There are several ways to increase the page speed of your site, the following tips can help you to speed up your site.

  • Enable all caching features (System >> Cache Management) and Flush Magento cache
  • Enable Flat Categories and Products (Stores >> Catalog >> Catalog >> Scroll down to Use Flat Catalog Category and Use Flat Catalog Product >> Set Yes >> Save Config)
  • Merge your JavaScript and CSS files, This will reduce the load time and increase the page speed. Stores >> Configuration >> Advanced >> Developer >> on the right side.
    JavaScript Settings:
    Merge JavaScript Files: Yes
    Enable JavaScript Bundling: Yes
    Minify JavaScript Files: Yes
    CSS Settings:
    Merge CSS Files: Yes
    Minify CSS Files: Yes

Speed up your Magento 2 E-commerce site

6. Modify Robots.txt File

The Robots.txt file instructs search engine robots which pages on the site to crawl or which pages not to crawl. To find your robots.txt file, All you have to do is enter the site URL into your browser and then add /robots.txt onto the end. http://www.xyz.com/robots.txt

To modify your Robots.txt in Magento 2 just go to the Stores >> General >> Design >> Edit custom instruction of robots.txt File - if needed.

Modify Robots.txt File in Magento2

7. Issues with Magento 2 Default Title and Description

When we set up a Magento store, it will pick the default Title and Meta Description and we need to edit these to optimize for SEO. So first Navigate to Magento 2 admin >> Content >> Design >> Configuration

Magento 2 default Title and Description

Then on Default Store View click on “edit

Magento 2 default Title and Description_1

Scroll down to HTML Head section and here you can edit these default values

Magento 2 default Title and Description_2

Please note: Please make sure to add proper Title and Description.

For Title tag use 50–60 characters
For Description tag use only 150-160 characters

You can leave the default keywords blank as Google no longer use the keywords tags in web rankings.

— https://webmasters.googleblog.com/2009/09/google-does-not-use-keywords-meta-tag.html

8. How to Add Meta Title & Meta Description for a Product/Category and Content Pages in Magento 2

Add Meta Title and Meta Description for a Product: Navigate to Magento 2 admin >> Products >> Catalog >> Click on Edit product and scroll down to Search Engine Optimization, There you can fill Meta title and Meta Description.

Add Meta Title and Meta Description for a Product

Add Meta Title and Meta Description for a Category

Navigate to Magento 2 admin >> Products >> Categories >> choose a category and scroll down to Search Engine Optimization.

Add Meta Title and Meta Description for a Category

Add Meta Title and Meta Description for a Category_1

Add Meta Title and Meta Description for Content Pages

Navigate to Magento 2 admin >> Content >> Pages >> Pick a page and Select Edit and scroll down to Search Engine Optimization.

Add Meta Title and Meta Description for Content Pages

Add Meta Title and Meta Description for Content Pages_1

9. Enabling Search-friendly URLs in Magento 2:

Every URL need to be unique, static, and perfectly optimized according to SEO guidelines.

We should have the following URL structure for category and product pages:

For Category page: xyz.com/category/

For Sub-category page: xyz.com/category/sub-category/

For Product page: xyz.com/category-sub-category/product-name/

Adding stop words (and, or, but, of, the, a, etc.) isn’t necessary

Stop using unsafe characters (blank/empty space and " < > # % { } | \ ^ ~ [ ] `)

Enable SEO-Friendly URLs in Magento 2 follow the following steps:

  • First log into your admin area and go to Stores >> Configuration >> General >> Web.
  • On this Page Click on Search Engine Optimization tab and select Use Web Server Rewrites to Yes. This option will also remove “index.php” from your URLs.

Enable SEO-Friendly URLS in Magento 2

  • Finally, click on the Save Config button

You can also Set the Global Search Engine Optimization configuration: Go to the Stores >> Configuration >> Catalog >> Search Engine Optimization and change the following fields for SEO friendly.

Popular Search Terms: Enable

Product URL Suffix : .html

Category URL Suffix : .html

Use Categories Path for Product URLs: Yes

Create Permanent Redirect for URLs if URL Key Changed: Yes

Page Title Separator: -

Use Canonical Link Meta Tag For Categories: Yes

Use Canonical Link Meta Tag For Products: Yes

Set the Global Search Engine Optimization configuration

Important point to check:

If your Magento is installed in the root of your domain (http://xyz.com), you need not perform any changes in the .htacess file. But, if your Magento is located under a subdirectory (http://abc.com/magento/) you need to edit your .htaccess file by changing the following line:

#RewriteBase /magento/
to
RewriteBase /your-magento2-folder-here/

10. Remove Default Store Code From URL

To remove the default store code from URLs:

Go to admin >> stores >> configuration >> General >> Web >> URL option >> Add Store Code to URLs >> No,

Remove default store code from URL

When done with the above steps, click on Cache Management link to flush the cache.

11. Add a Blog Page to Your Magento 2 Store

No one can deny the power of the blog page, so it is very important to learn how to add a new Blog page in your Magento 2. We can use a FREE blog extension for the Magento 2 e-commerce store without adding a third-party framework such as WordPress. So if you want a Magento 2 blog extension that comes with responsive design, is100% FREE, is open source code, and builds your SEO friendly blog then you can check this extension here.

12. Get Quality Links to Your Store

Quality links are simply the process of creating relevant inbound links to a website, which will help the website to achieve higher rankings within the major search engines and it will also generate targeted traffic to your website. If you would like to build high-quality links then you will have to pick the best strategies for your store and you can follow the nicely written post on How to Get High-Quality Backlinks here.

Summary

In this article, I have covered 12 different SEO Tips for your Magento 2 e-commerce website to gain higher rankings. Take some time to review and implement these steps to improve your e-commerce rankings step by step.

Ashok Sharma
Master

A veteran community member.

Ashok Sharma is the Digital Strategist, and he helped businesses gain more traffic and online visibility through technical, strategic SEO and targeted PPC campaigns.
Connect him on LinkedIn and follow him on Twitter for a quick chat.
Share this post
or

Comments

2000
Newcomer

Either just recently joined or is too shy to say something.

Hello,

Great article, but for product frendly url it still shows like this /catalog/product/view/id/1/s/product-name/category/4/. Have any other suggestions to fix this?
Newcomer

Either just recently joined or is too shy to say something.

Hello Ashok! First of all, I would like to thank you for your post. It contains so many interesting tips I even discovered something new for myself. Very useful. You mention Mageplaza Blog Extension which is great by the way, but what about the Magento 2 Blog extension by Magefan? It has even more helpful features that make it stand out from others. I suppose your reader would have found it useful and everyone would fild something appealing.
Thanks once more for the awesome tips.
Ashok Sharma
Master

A veteran community member.

Maria Skula
Hi Maria, Glad you loved the content. I will definitely have a look on the extension provided by you. Thanks for sharing.
Newcomer

Either just recently joined or is too shy to say something.

Hi Ashok,

I have read the blog on Top 12 Killer Magento SEO Tips For Your E-Commerce Website and found it very useful. Every aspect of this article is interesting and informative.

Thanks for sharing such great content.

Also please read our blog on "Optimized Search Features Magento 2 has to Offer" and please share your thoughts on the same.

https://www.i95dev.com/optimized-search-features-magento-2-offer/
Ashok Sharma
Master

A veteran community member.

Matt Louis
Thanks Matt Glad you loved the content.
Newcomer

Either just recently joined or is too shy to say something.

Hey Ashok, Thanks for nice and detail stuff. However I have 1 suggestion.
Bundling JS files is advisable as it doubled the file size and harmful for page loading speed.
Ashok Sharma
Master

A veteran community member.

Aejaz Khan
Glad you loved the content. Thanks for your suggestion, keep doing great work
Newcomer

Either just recently joined or is too shy to say something.

Thank you for this article, however enabling Javascript bundling created a bug and I am now not capable of hide/modifying the editor. Which also means I cannot post anything anymore... Any help?
Ashok Sharma
Master

A veteran community member.

Gaelle DV
Glad you loved the post. Regarding the bug please contact your web developer once
Newcomer

Either just recently joined or is too shy to say something.

Very Comprehensive Guide.

Thanks, Ashok for sharing this post.

In addition, can you also add custom instructions like disallowing directories or any URLs like shown here:
https://magenticians.com/configure-magento-robots-txt/

Seen the mentioned guide for configuring Magento Robots.txt during my research and shares here to make your tutorial more awesome :)
Ashok Sharma
Master

A veteran community member.

Chris Henry
Thanks Chris, Glad you loved the post. will check the instructions shared by you.
Newcomer

Either just recently joined or is too shy to say something.

Thanks for sharing this awesome guide, many people don't know about XML file and updating meta tags through it, Here's the best guide about using XML file in Magento (https://www.cloudways.com/blog/customize-magento-modules-through-layout-xml-files/), Customizing module with Magento layout XML file is very easy, you can add custom titles, meta tags, keywords or a description of your Magento module page. You can easily add this custom information to all existing, core or newly created modules.
Ashok Sharma
Master

A veteran community member.

Alex Morco
Glad you loved the post thanks for your comment
Newcomer

Either just recently joined or is too shy to say something.

wonderful post. Thank you so much for taking your time to sharing this.
Ashok Sharma
Master

A veteran community member.

Amobi Chuks
Thanks Amobi.:)
Newcomer

Either just recently joined or is too shy to say something.

Great article ! Any idea how to get backlinks for my site https://www.calzadosyoyito.cl . I went through skyscraper, which is great idea, however, I have no clue how it can applied to retail business. Again wonderful tips !
Ashok Sharma
Master

A veteran community member.

Isidoro Roa
Thanks Isidoro. to get the link follow my post: https://www.advancedwebranking.com/blog/11-powerful-link-building-techniques-to-gain-engagement/
and connect with me via Twitter
Newcomer

Either just recently joined or is too shy to say something.

Hello Ashok!

That is one great write up and a nice collection of valuable SEO tips for Magento.
It covers nicely all the typical and relevant parts that matter when it comes to SEO - all the usual suspects are addressed in your list.

One nice addition might be masking of Filter URLs by using PRG Pattern.
This is a highly effective measure when it comes to avoiding (Near-) Duplicate Content related to Filter Navigation.
Furthermore it helps saving valuable Crawl Budget, improves Internal Link Structure and optimizes indexing by Google.

You can read more about how it works on here: https://www.jajuma.de/en/jajuma-develop/extensions/prg-pattern-link-masking-for-magento-2
and about why its the better option compared to other often recommended SEO techniques for tackling issues with Filter Navigation
on here https://www.jajuma.de/en/blog/seo-optimization-for-layered-navigation-with-prg-pattern

Best of all, its easy to apply and use for any Magento 2 store using this Extension: https://marketplace.magento.com/jajuma-prg.html
Huge SEO improvement with minimum Effort!

Thanks again for your valuable article on Magento SEO!

Cheers & have a good one!
OJ
Ashok Sharma
Master

A veteran community member.

OJ
Thanks OJ! Glad to know that you liked the content. :)
Sanjay Mishra
Enthusiast

Occasionally takes part in conversations.

Lot of important information are collected from this content. Thanks for sharing this content!
Ashok Sharma
Master

A veteran community member.

Sanjay Mishra
Thanks Sanjay ! I’m glad to hear that you liked the content ?
Daniel Anthony
Newcomer

Either just recently joined or is too shy to say something.

Thank Ashok Sharma.I'm Daniel from India. I want to build my store with Magento 2, but I know how to choose good magento agency. Can you advise me how to evaluate them. I also found a list of results on google here: [link removed by moderator]
Ashok Sharma
Master

A veteran community member.

Daniel Anthony
HI Daniel,
Thank you for getting in touch.
We also have in-house development team that has done considerable work in Magento 2.
Please share your project details (ashok@graycelltech.com) and i will connect you with the right person to discuss further.
Best Regards
Ashok
Newcomer

Either just recently joined or is too shy to say something.

Ashok Sharma
Hi Ashok, want to brand management of my site [link removed by moderator] can you please check and provide me your suggestion.
Ashok Sharma
Master

A veteran community member.

Mayur S
Hi Mayur, You can connect with me on Twitter.
Enthusiast

Occasionally takes part in conversations.

"Magento is the most popular and fast-growing..." source for this?

I would have thought Wordpress has a bigger share of the market, as well as Shopify, although that's paid.
Ashok Sharma
Master

A veteran community member.

Harry
I think this will clear you everything about magento: cminds.com/wordpress-vs-magento-which-is-better-for-your-new-online-store/
In my personal experience Magento is more secure than WordPress, rest depends on your needs. :)
DexterRoona
Enthusiast

Occasionally takes part in conversations.

Very useful SEO Tips - Great post Ashok ;-) Is Magento Wordpress based?
Ashok Sharma
Master

A veteran community member.

DexterRoona
Glad you liked the post. Magento, just like WordPress, is based on an open source technology. Magento is more secure than WordPress and offers a high-level of customization and functionality.
DexterRoona
Enthusiast

Occasionally takes part in conversations.

Ashok Sharma
So you could run a Wordpress type site on it? Is it supported with add-ons and plugins that you can add?
Ashok Sharma
Master

A veteran community member.

DexterRoona
Magento is the more efficient and recommended alternative to WordPress when it comes to selling products online. For Magento you need to separately install it and there are different plugins available.
DexterRoona
Enthusiast

Occasionally takes part in conversations.

Ashok Sharma
Thanks for the heads up
Md. Naziur Rahman
Newcomer

Either just recently joined or is too shy to say something.

Amazing article my bro. Those tips gonna help me improving my general blog as well. I will surely give them a try. Thanks a lot for such informative article.
Ashok Sharma
Master

A veteran community member.

Md. Naziur Rahman
Thanks for reading the post Rahman, and I really appreciate your comments.
Akash Srivastava
Helper

An experienced member who is always happy to help.

Excellent tips, Ashok!
Ashok Sharma
Master

A veteran community member.

Akash Srivastava
Akash, glad you liked the post :)

Send feedback

Your feedback must contain at least 3 words (10 characters).

We will only use this email to respond to you on your feedback. Privacy Policy

Thank you for your feedback!