Full-service e-commerce agency

Add your deal, information or promotional text

Updated: 12/20/2023

There’s a lot to love about Magento, but the fact that it makes it SO easy to implementSEO best practices has to be up there.

Right out of the box,Magento is already one of the mostSEO-friendly eCommerce platforms.

Add that to the many reasons we love Magento (now known asAdobe Commerce).

Still, there’s plenty you can do to improve your Magento site’s SEO, so you can attract more visitors than the competition.

OurMagento SEO experts have been working with Magento 2 since it debuted back in 2015. So, I asked my team to use this SEO experience and come up with a guide that includes the absolute bestMagento 2 SEO tips – ones they’ve seen make the biggest difference for our clients’ SEO. If you want further help, check out ourSEO audit services for a review of your Magento site.

Here are those 20 tips:

The 20 Best SEO Tips and Best Practices for Magento Sites

One of the main things I looked for when I put this guide together was SEO tips that you can implement immediately on your Magento store.

Yes,content is still king.

Of course, you shouldbuild a robust backlink profile.

Sitespeed isalwaysimportant.

However, for this list, I focused on 20 SEO tips for Magento that won’t take months – or even years – to apply.

I hope you’ll take a second to read through this entire post and then just A LITTLElonger to put these SEO tips into play, so your Magento store starts seeing a lot more traffic in the very near future.

1. Set Your Magento Site’s Preferred Domain (& Enforce It)

Your store probably already has enough competition as it is from an SEO standpoint.

So, don’t letWWW and non-WWW versions of your Magento store compete against each other for rankings or create frustrating canonical issues.

Why does this happen?

From an SEO perspective, Google views the WWW and non-WWW versions of your Magento store as two distinct entities. This means, try as you may, you could easily run intoduplicate content issues, which is just a completely unnecessary problem as far as SEO goes. Of course, you’re actually competing with your own store for rankings, too.

Not great.

Fortunately, this is an incrediblyeasy SEO issue to fix or just avoid altogether.

How to Fix This SEO Problem in Magento

Simplygo to the “Secure” and “Unsecure” Base URL located in the core_config_data table in phpMyAdmin) and set this preference within Magento.

Then, enforce it by using two ways to follow up:

That’s it!

Congratulations, you just took one of your competitors out of the game (if only the others were so easy).

2. Use Tiered XML Sitemaps

Hopefully, you already have a sitemap for your Magento store. Specifically, it should be an XML sitemap, which is ideal for SEO purposes.

Fortunately, this couldn’t be easier with Magento. Check out this fantastic post toadd an XML sitemap to your Magento site ASAP AND ensure it gets updated regularly, so all of your pages get plenty of attention from search engines.

Even if you do already have an XML sitemap, if your eCommerce website is large, I recommend that you create a “sitemap of sitemaps” that breaks out categories into more bite-sized chunks, the kind that Google can crawl with ease.

No one likes to be ignored, but that’s often what happens to pages that are listed at the bottom of a long, awkward sitemap – the kind that seems to go on forever.

To avoid this, break out your store into naturally flowing chunks – perhaps by category – and create sitemaps for each large section.

Then, list the URLs of the other sitemaps in a primary sitemap, like this:

In your Admin panel, go to Catalog -> Google Sitemap -> Add Sitemap and add your primary sitemap.

Next,add that sitemap to your robots.txt file.

If you want to be certain Google sees it, you can alsoadd your sitemap in Google Webmaster Tools, showing the giant search engine exactly where to look.  

That’s all there is to it. No matter how many pages your Magento site has, this SEO tip will make it much more inviting to Google the next time its crawlers pay a visit.

3. Enable Server URL Rewrites & Disable Store Codes in URLS

Like I said before, I chose these SEO tips for Magento because they’re easy to implement right away, so you start seeing results in no time.

Nonetheless, this next one is still really simple.

Like, reallysimple.

But first, let me quickly tell you why it’s so important for SEO.

The URLs of your Magento website’s pages play a big role in what Google thinks of each individual page. Among other things, Google looks at keywords, dynamic character strings, and other factors to help it better understand what your pages are all about.

To make this easier on Google, you want to keep the URLs for your pages as short and to-the-point as possible.

While I recommend youaudit all of your URLs at some point to trim them of any unnecessary characters – or beef them up accordingly – that is definitely a long-term process.

However, you can easily clip off any “index.php” text that may currently be adding unnecessary length to your URLs without investing a lot of time into the process.

All you have to do is go to System -> Configuration -> Web -> Search Engine Optimization, and, under “Use Web Server Rewrites”, select “Yes”.

That’s all it takes to eliminate index.php from your URLs and ensure they’re easy to read.

From this same screen, under the “URL Options” menu, select “No” under “Add Store Code to URLs” to prevent these strings of code from being plunked into your URLs.

Now, you have nice, lean URLs which search engines love.

4. Disable the Category Name from Your URL Path

Listen, I love Magento.

But if I’m being honest, Magento doesn’t do a great job when it comes to adding category names to all of your URLs, which is maybe the only SEO drawback where this otherwise fantastic platform is concerned.

This is a problem because the practice of automatically adding those category names can lead to some pretty messy URLs, which goes against the SEO tip we just gave. Load times can increase, too (which isnever good), and, again, it’s easy to run into those pesky duplicate content issues that no search engine likes.

To keep this from happening, just go to System-> Configuration -> Catalog -> Search Engine Optimization and change “Use categories path for product URLs” to “No”.

Rejuvenation does a great job of controlling the URLs for their product pages like this:

The category URL is:http://www.rejuvenation.com/catalog/categories/lighting/table

But notice how they remove “lighting” and “table” from the actual product URL above.

It’s a much cleaner, simpler URL that’s extremelyeasy to achieve with Magento 2 and makes for great SEO.

5. Move JavaScript & CSS into External Files (Not Templates!)

Here’s another way to improve the SEO of every page on your Magento website by just keeping things simple.

Long, messy templates don’t do your Magento SEO any good – not to mention that having to reload these elements over and over again can really hurt your load time across all of your pages.

My advice is to move these into external files, so that visitors cache them on their first load of the page. This way, search engines don’t have to download them over and over again whenever they want to show your Magento store in their SERPs (Search Engine Result Pages).

Even more important, you should combine elements like JavaScript and CSS into concentrated external files instead of dozens of external ones.

Every additional file that requires downloading necessitates another connection to the server, so it’s wise to combine and reduce the number of files floating around out there. One of the key areas to focus on isstylesheets because Magento doesn’t do a great job with them by default.

Combine all of your stylesheets into just one new one (except for print.css) to keep things buzzing...quickly! 

6. Optimize All of Your Images

In the rush to upload images and get product pages live, you may neglect one of the easiest ways to put relevant keywords (a central tenet of SEO) on your Magento website:adding ALT attributes to your images.  

Optimizing the images on your product pages with text will ensure the visually impaired understand everything on the page, but it’s also an easy way to put extra keywords on your product pages.

Here are the basics:

  • Give all of your images keyword-rich names like antique-lamp.jpginstead of generic filenames like jpg. Search engines use these filenames when determining image rankings, which matter for the pages they’re on, too.
  • Use an informative, succinct and, keyword-rich alt description to help search engines understand the content of your images. Just be careful about “keyword stuffing.” Remember that the reason search engines wants image attributes is to help the visually impaired – notto improve your rankings. Describe the product in detail to someone who needs that information to make a purchase. If you can do so WHILEincluding keywords, so much the better.
  • Give the image a descriptive and meaningful title. Usually, this will just be the product’s name, but if you think other descriptors will help the visually impaired – and search engines – go ahead and add them.

Yes, this is a little bit of added effort, but as anyone whose product pages have ever hit the first page can attest, it’s well worth the minor investment in SEO to get A LOT more traffic.

Also, it’s not like something you need to do again and again. While it’s always a good idea to update your content regularly, the keywords for your product images’ alt text are probably not something you’ll need to change.  

7. Get Rid of Empty Robot Metas

Magento has a strange proclivity for showing non-setmeta robot tags as follows:

<meta name="robots" content="*" />

Unfortunately, this can create problems for search engines.

To keep that from hurting your Magento site’s SEO, remove this code altogether.

There is no lack of modules and plugins that make this easy to do, even if you have no experience with coding, so look through the marketplace for options that make this important SEO tip a simple step. OurMagento code audits will also catch all of these problems very quickly, so we can get more traffic to your Magento stie ASAP.

8. Optimize Your Content with the Right Keywords

Whenitcomes to eCommerce, the meat and potatoes of SEO areproduct titles and descriptions.

Provided that you create them with keywords in mind, that is.

But if the product titles and descriptions on your Magento site’s pages aren’t created with SEO in mind, you’re losing traffic and conversions. It’s as simple as that.

So, while I definitely hope you use all the Magento SEO tips I just covered, please never lose sight of these basics.

Accessing your products’ titles and descriptions is easy. Both are on the actual product pages themselves.

To optimize your product titles:

  • Make sure the product titles on all of your pages are unique but consider the keywords people use when searching for them, too. You have 50-60 characters for a title tag, so if there’s room, throw in some sales copy, too (e.g. “high-quality”, “affordable”, “durable”, “stylish”, etc.) – anything that will get the click over your competitors.
  • Whenever possible, place the keyword for your product description as close to the beginning of your pages as possible. Google crawls from left-to-right, so this placement will get more weight.
  • Leave out product numbers or SKUs unlessyou know that your audience actually searches for them in Google. Otherwise, you can put them at the top of your product descriptions where visitors will be able to find them right away when they visit your pages.

To make your Magento pages’ product descriptions SEO-friendly:

  • Just like with your titles, create product descriptions that are 100% unique. If you have similar products (e.g. two turtlenecks: one black, one white), you can alwaysuse canonical tags to let Google know you’re aware of the duplicate content, so you don’t face any SEO problems with multiple pages fending for the same keywords.
  • Focus on long-tail keywords whenever possible. That’s where the competition will usually be lowest, but the intent-to-buy is highest.
  • Use your main keyword in the H1 and then wherever it makes sense in the product description itself.

Even if you have thousands of products, you can start implementing this SEO advice on your Magento store right away by working through 5-10 a day. The ROI from these simple changes will reallyadd up over time.

9. Update Your Magento Site to the Latest Version

This might be one of the easiest ways to improve your Magento store’s SEO and enjoy a number of other benefits in the process.

It’s always a good idea tomigrate your site to the latest version of Magento. Among other things, doing so will give your store a mix of core security improvements. These updates also automate fixes for any problems related to the previous version of Magento.

Technically, you can update your Magento store to the newest version manually.

However, this is also a time-consuming process even for those who know what they’re doing. If you’ve never updated Magento before, the process can be time-consuming and risky. One mistake could cause serious problems for your Magento store (and, of course, your chances of showing up in search results).

Hiring an experienced Magento developer is highly recommended to avoid any major issues with your website, search results, or sales.

Not updating your Magento site to the latest version could mean missing out on user-friendly features or those that would benefit your customers’ experience.

But it will also mean your Magento store’s SEO potential remains limited compared to competitors that also use the platform and have had it upgraded.

Again, this is best left to an experienced Magneto professional, but we have a post detailing the process andcost of upgrading a Magento site if you’re curious about what it all entails.

10. Make It Easy for Search Engines to Index Your Magento Site

Even if you’re ticking every box for optimizing your Magento site, all that work will be in vain if search engines can’t crawl and add it to their indexes.

Until this happens, your store literally won’t show up in searches – much less high enough in the rankings to drive lots and lots of traffic to your Magento website.

On the other hand, by making it easy for Google and other search engines to index your website, you stand a much higher chance of appearing nice and high in the SERPs.

How to Check if Your Magento Site Is Being Indexed

You can check if your Magento website is being indexed by Google a couple of different ways.

The first method is by going to Google and actively searching for your website.

For me, this would mean going to Google and typing in site:IWDAgency.com

And, sure enough, there’s proof our store is being indexed:

I can even see EXACTLY how many pages (718) – and which ones – can show up in Google’s search results.

The other way is to go into Google Search Console and select “Coverage” under the “Index” header:

On the graph to the right, check the “Valid” box to see how many pages Google has indexed for your website:

The report will even show you if Google is indexing pages that aren’t in your XML sitemap. If these pages are important to your Magento store, it’s best to add them to your sitemap and resubmit it to Google Search Console.

If you find that any pages for your store are in your sitemap but still aren’t showing up when you do the aforementioned “site search” method, add the URL to the inspection tool at the top of Google Search Console for feedback directly from Google about what’s wrong:

There can be all kinds of reasons the pages on your Magento website aren't getting indexed, so I recommend you check out this in-depth blog post on Google's Coverage Report.

11. Make Sure Your Magento Store Is Fast

Website speed has always been important.

Google has been pushing website owners to prioritize speed for years now, but they recently turned up the pressure even more by introducing theirWeb Core Vitals report – which largely measures site speed.

Of course, it’s not just Google that will notice if your Magento site is slow. Customers will, too. That’s not just bad for SEO. That’s bad for conversions and revenue, too.

After all, site speed is directly related to customer satisfaction. If a customer has to wait anylonger than three seconds, most will click away.

If Google’s users don’t like something, Google won’t like it. Hence, why site speed is so important to your Magento store’s SEO.

Google favors websites with excellent loading times so much, that it will often push fast pages higher up their search results based on that metric alone.

A good first step is picking an SEO-friendly Magento theme, but there are also others you can take to make sure your store keeps Google happy.

Enable Caching for Your Magento Store

Another way to improve your Magento site's speed is to enable caching.

See, whenever someone visits a page for the first time, your store’s server loads everything it’s supposed to show. Magento then makes a copy of this page and automatically caches the content being displayed.

This way, when the visitor returns to your Magento site, the cache of that page is available to show. The server doesn’t have to generate it all over again, much less all the other pages they might want to click through on your store.

So, make sure your Magento website’s caching is enabled. Sometimes, developers turn it off while they’re working and forget to turn it back on once they’re finished.

Minify Scripts

Another great way to speed up your Magento website – and improve your rankings in the process – is to merge and minify its CSS and JS files.

In simplest terms, doing this will condense the total number of individual CSS files that your store has to handle into fewer files. The result? A store that loads much faster.

However, this is another time when it might be best to hire a Magento developer for the job. It’s not exactly the most challenging of jobs, but non-developers will probably struggle.

And if you’re looking for help in that area, check out this article on how to create a Magento developer job description.

Check Your Hosting

If you’ve tried both of the above tactics and you’re still having issues with your site speed, then it could beyour hosting that’s the issue.

In that case, you’ll want to shop around fora hosting provider that specializes in Magento sites.

Given the platform’s popularity, there are a number of great options on the market for your store.Many of them even come with inbuilt configurations to automatically help optimize your Magento site for speed.

Do a Regular Speed Audit

As much as it would be nice to think site speed optimizing is a one-time job, unfortunately, it’s an ongoing process.

So, get into the habit of checking your store’s speed once a month. There could be all kinds of reasons your site slows down from one month to the next.

For example, there may be plug-ins that are causing problems or other issues that are slowing down your site.

You could hire a developer to give your site a monthly health check or just use a website audit tool that will notify you when your site load time increases.

You can also run your site through Google’s PageSpeed Insights tool for a comprehensive breakdown of how fast it loads and how this affects your visitors.

12. Treat Your Magento Store’s Title Tags as a Priority

As much as it would be nice to think site speed optimizing is a one-time job, unfortunately, it’s an ongoing process.

So, get into the habit of checking your store’s speed once a month. There could be all kinds of reasons your store slows down from one month to the next.

For example, there may be plug-ins that are causing problems or other issues that are slowing down your store.

You could hire a developer to give your store a monthly health check or just use a website audit tool that will notify you when your store load time increases.

You can also run your website through Google’s PageSpeed Insights tool for a comprehensive breakdown of how fast it loads and how this affects your visitors.

Meta Keywords Won’t Help Your Site

The term Metadata is used to encompass the meta title, meta description, and any meta keywords.

For a long time, conventional wisdom was that all three of these components were essential for ranking your website.

However, things have changed in recent years.

Meta Descriptions Will Only Help Your Site a Little

What about meta descriptions?

Meta descriptions kind of matter but only if Google shows them to its users.

See, Google rewrites meta descriptions more than 70% of the time.

So, while it’s a good idea to include a meta description for each page on your Magento site – and even include keywords (which Google will bold when relevant) – these short descriptions won’t directly help your pages rank better.

Title Tags DEFINITELY Matter

Title tags are the ones that actually matter.

You usually want to include your main keyword in them and use the rest of your roughly 60 characters to entice searchers into clicking.

Interestingly, Google started rewriting title tags this past year, too – over 60% of the time, no less.

But given how important these tags are, I still encourage you to put some thought into them.

13. Show Off Your Magento Store’s Flattering Customer Reviews

Customer reviews are a great way to boost the conversion rates on your Magento site. According to a survey done by IDS Fulfilment, using customer reviews on your site may increase conversions by up to 58% and increase revenue per visit by 62%.


That’s great, of course, but how do customer reviews relate to your store’s SEO?

Well, if youadd “review” structured data to your site, Google can show what others think about your Magento store’s products. Flattering reviews naturally increase clickthrough rate, which – as a result – will improve your Magento store’s rankings, too.

14. Don’t Take Down Product Pages When They’re Out-of-Stock

If you follow all of the above SEO advice, you’re going to eventually have a problem – albeit a good one.

You’ll get so much traffic that you’ll start selling out of products.

Obviously, you’ll just go ahead and order more.

But what do you do with the product page for that item in the meantime?

Whatever you do, don’t delete the page or even take it down.

Far too many business owners do this thinking that they can just repopulate the page when their products are restocked with no harm done.

Nothing could be further from the truth.

Even if you’ve been selling that item for years, Google will treat the new product page as just that – new. It’ll need to climb the search engine ladder all over again.

Instead, update the product page to say the item is temporarily out of stock. This way, the page continues its presence on Google. You can even continue using the SEO tips in this article to keep improving its rankings. When you replenish your supplies, the page will be there ready to convert customers.

For even better results, add an email form to the page, so that users can sign up to receive a notification when the item is available again.  

15. Use Canonical Tags to Avoid Duplicate Pages

If you have a large eCommerce store, it’s almost inevitable that you’ll run into issues withduplicate content.

Sometimes, this is unavoidable.

For example, if you offer a guarantee, you should include this information on all of the product pages this policy applies to. There’s no need to come up with hundreds – or even thousands – of ways to reword this guarantee, though.

However, other times duplicate content can confuse Google, making it difficult for the search engine to know which page to show when someone searches for a term that applies to more than one. In short, you end up with pages that are competing against one another.

This problem is often referred to askeyword cannibalization.

In any case, the goal should be to make each of your pages as unique as you realistically can.

For those products when it makes sense for the majority of the content to be similar, considerusing canonical tags to tell Google which of these pages should take priority in its results. Magento makes this painless enough. Head to Stores > Configuration > Catalog.

Scroll down to the Search Engine Optimization section and select “Yes” where it prompts you with “Use Canonical Link Meta Tag for Categories” and the one right below it, “Use Canonical Link Meta Tag for Products.”

16. Your Magento Store Must Be Mobile-Friendly

Back in 2016, mobile web viewing overtook desktop viewing as the dominant way users accessed the Internet.

This is why your Magento store must be mobile-friendly.

Another big one is thatGoogle prioritizes mobile-friendly websites in its rankings.

In other words, if you don’t have a mobile-friendly website, you’ll be at a major disadvantage compared to all your competitors who put mobile users first.

This is one more reason to use a responsive theme for your Magento store. This means that it's compatible with any device and automatically changes to fit the screen size it’s being viewed on. Using theMagento page builder can help you see if your theme is responsive.

Another great option is aProgressive Web App (PWA), which will help to make your Magento store look and behave more like an app.

Nothing is quite as mobile-friendly as an app.

A PWA will:

  • Help load the content quicker even on slow bandwidth
  • Improve performance on mobile
  • Provide a better experience for customers  

And building a PWA is quicker and more cost-effective than building an actual app for your company.

17. Implement Lots and Lots of Internal Links (One of the Most Overlooked SEO Optimization Tips)

Maybe one of the best – but most overlooked – strategies for improving a site’s SEO isinterlinking.

It’s not just that you have complete control over the links on your own website. It’s that you can quickly change them or their anchor text whenever you want.

Lots of interlinks make it easier for your shoppers to get from one part of your Magento store to another, which is great forimproving your UX. These links can alsohelp drop your bounce rate, which is great for improved rankings, too.

But robust interlinking also makes your site easier to explore for Google, too.

Popular SEO platforms likeAhrefs andSemrush make it really easy to find which pages on your Magento site aren’t getting the interlinking they need to win over Google. As a rule, every page should have at least two links pointed at it. You want to avoid pages with no interlinks – also known as “orphan pages” – at all costs.

At the same time, make sure that your interlinking makes sense. Don’t link from one page to the next just to meet the aforementioned quota. Take your time to ensure interlinked pages are relevant to one another.

Finally, don’t settle for “click here” or other nondescriptive phrases for your links. Use natural language but try to include keywords whenever possible. Google will pick up on these, which can help improve your rankings for those words.

18. Set Up Schema Markup on Your Magento Site

Schema markup is a type of microdata that tells search engines how to organize the information on your site. By using schema markup on your Magento site, it's easier for additional information – such as images, pricing, and availability – to show up on search engine’s result pages.

In turn, schema markup can improve clickthrough rate, which – as we’ve already covered – is great for SEO.

There are all kinds ofuser-friendly tools out there that make adding schema markup a breeze, so this is one SEO tip that you definitely don’t need a developer for, even though it’s extremely powerful.

19. Make Full Use of Your Site’s Blog (You Have One, Right?)

Please tell me your Magento site has a blog.

Even though Magento is primarily known for its eCommerce capabilities, no site should be without a blog these days.

And there are plenty ofblog extensions for Magento that make it easy to add one to your website.

There are also plenty of reasons to have a blog, but you can probably guess the one I’m going to highlight in my final tip on, you know, Magento SEO.

The more blogs you have on the same topic, the more you’ll tick Google’s boxes for E-A-T, which stands for “Expertise, Authoritativeness, and Trustworthiness.”

E-A-T is easily one of the most important ranking factors, so the more you can do to improve your Magento site’s profile in this regard, the better.

Let’s look at how this can actually work.

Say your Magento store sells t-shirts. You might have a blog post that looks at the latest t-shirt trends, another on how to care for them, and another on ways to dress up or dress down your t-shirt selection. Chances are there’s an endless list of topics you could cover.

By increasing your online presence with the addition of blog posts, you stand a much better chance of getting seen by shoppers.

And as you continue to publish blog posts, make sure you interlink them with lots of keyword-rich anchor texts.

20. Build Backlinks (The Right Way)

Backlinks have been a well-known ranking factor for years now, but most business owners don’t know how to go about getting them.

While it’s definitely helpful to use blogs to collect them naturally, this approach takes A LOT of time. Most blogs don’t generate much in the way of backlinks unless they’re at the very top of Google.

Depending on how competitive your market is, it could take years before you have a decent number of blogs ranking that well to generate those kinds of links naturally.

Of course, following these SEO tips should definitely help with that.

Nonetheless, if you’d prefer to see backlinks ASAP, you have two options.

And, ideally, I recommend you pursue both.

Use Professional Backlink Builders

The first is to hire a company that will go out and get those backlinks for you. Usually, they own or have relationships with other sites that can create the links you need on demand.

This will get you the quickest return, but you need to do your research before paying anyone to create backlinks like this. Ask for case studies, specifically any that highlight success within your industry.

And don’t skimp here. Good backlinks can be expensive, but cheap backlinks will have no effect whatsoever.

Work with a PR Team

Digital PR has become increasingly popular in recent years as a means to build powerful backlinks.

In many ways, this approach is no different than traditional PR. It’s just that the primary goal isn’t positive buzz or brand recognition. While those are great, the priority is getting backlinks from powerful websites Google loves.

The results can be amazing for your Magento store’s SEO, but this strategy will take time. That’s why I recommend using professional backlink builders at the same time – if possible. This way, your Magento site gets some decent backlinks while you’re waiting your PR investment to pay off.

Following This Magento SEO Guide an Ongoing Process

While the Magento SEO guide above will produce dramatic results for your site’s search engine rankings, it’s important to remember that effective search engine optimization is an ongoing process.

But if you regularly invest time into your website by doing things like publishing blog posts, checking your site’s speed, and adding interlinks when appropriate, you’ll find your Magento store’s traffic continues to grow.


Let’s chat!