Notes

Shopify SEO problems & how to fix them.

Shopify is a popular eCommerce platform that enables businesses to sell online. Unfortunately, Shopify has several common technical SEO problems that can hamper a website's ability to rank well in search engines. In this article, our Head of Search Engine Optimisation in Melbourne at Spicy Web discusses common Shopify SEO problems and how to fix them.

Posted by
14.07.2022
Shopify technical seo

What is Technical SEO?

Technical SEO is the process of optimising a website for search engines. It is a subset of broader search engine optimisation (SEO) that focuses on improving a website's technical aspects to improve its ranking in search engines.

Why does Shopify have technical SEO problems?

Shopify is a world-leading e-commerce CMS and is a common choice for online retailers for its remarketing features and ease of use. So why does Shopify have several technical SEO problems?

First and foremost, Shopify is a hosted platform. This means that businesses using Shopify do not have access to the server-side code, which limits their ability to make certain technical SEO optimisations. Additionally, because Shopify is a closed platform, it can be difficult to integrate with third-party tools that can help with technical SEO. Finally, Shopify uses its own URL structure, which can create duplicate content issues. Many Shopify themes are what we call "out of the box" or have been developed with aesthetics first, potentially compromising search engine readability. Our Search Engine Optimisation agency in Melbourne will show you how to check if your Shopify store has technical SEO problems.

Common technical SEO problems with Shopify and how to fix them

While Shopify may have several common technical SEO problems, there are also several ways to fix them. Below, we'll discuss some of the most common technical SEO problems with Shopify and how to fix them.

How to conduct a technical SEO audit for Shopify stores?

If you want to do a technical SEO audit for your Shopify store, here are some tools that we use at Spicy Web.

1. Crawl your website with Screaming Frog.

2. Manually check your live website and theme code.

3. Use Search Console and check for errors.

Shopify site structure does not allow parent & child pages in collections

One of the most common technical SEO problems with Shopify is that its site structure does not allow for parent & child pages in collections. This can be problematic if you want to create subcategories for products or locations you ship to. For example, most content management systems such as Craft CMS will allow a site structure /mens-wear/formal-wear/suit-jackets whereas with Shopify you will only be able to make /collections/mens-formal-suit-jackets. Shopify lacks the ability to create a content hub for SEO.

Shopify URL structure problems

Another common technical SEO problem with Shopify is its URL structure. By default, Shopify uses a /collections/collection-name/products/product-name URL structure, which creates duplicate content issues. To fix this, you can change your Shopify URL structure to use the /products/product-name URL structure when clicking a product from a /collection/collection-name. If you are experienced with editing .liquid code in your Shopify theme head to Online Store > Themes > Customise > Theme Actions > Edit Code > Snippets > product-grid-item.liquid:

Then remove the text that says "within: collection":

This will break your Themes breadcrumbs so you will need to rebuild these as you will need them for SEO.

Product & Blog Tag duplicate content issues

Tags are a common technical SEO problem with Shopify in that product & blog tags can create duplicate content issues. By default, Shopify creates a /products/tagged/tag-name URL for each product tag. To fix this, you can add a canonical URL to your product tag template that points to the main product page URL. Using a no-index tag will tell search engines to ignore /products/tagged/tag-name URL is not the primary URL and that they should not index this page.

{% if current_tags %}
<meta name="robots" content="noindex, follow">
{% endif %}

Pagination duplicates collection pages

Pagination is a common technical SEO problem with Shopify in that its pagination can create duplicate content issues. By default, Shopify creates a /collections/collection-name/page/x URL for each page of products in a collection. To fix this, you can add a canonical URL to your collection template that points to the main collection URL.

{% if template != 'collection' %}
<link rel="canonical" href="{{ canonical_url }}" />
{% else %}
<link rel="canonical" href="{{ shop.url }}{{ collection.url }}" />
{% endif %}

Canonicalise product variants

Product variants are a common technical SEO problem with Shopify in that product variants can create duplicate content issues. By default, Shopify creates a /products/product-name?variant=x URL for each product variant. To fix this, you can add a canonical URL to your product template that points to the main product URL.

{% if template != 'product' %}
<link rel="canonical" href="{{ canonical_url }}" />
{% else %}
<link rel="canonical" href="{{ shop.url }}{{ collection.url }}/{{ product.handle }}" />
{% endif %}

Other default pages in Shopify

Pages such as /collections or /collections/ all have little value and dilute the authority of your website. It is recommended that you add a canonical URL on these pages that point to your home page.

<link rel="canonical" href="{{ shop.url }}" />
If you want search engines to index these pages then you can add the following code:
{% if template == 'collection' and collection.handle != 'all' %}
<meta name="robots" content="index, follow">
{% endif %}

or

{% if (template contains "collection" and collection.handle == "all") or (template contains "collection" and collection.handle == "new") or (canonical_url == "https://example.com/collections") %}
<meta name="robots" content="noindex, follow">
{% endif %}

A final summary of Shopify technical SEO problems you should fix

If you have a Shopify store and you can't find your products on the first page of Google and other search engines in organic search results, then fixing these technical problems could lift your product-related keywords to the first page of Google and increase organic traffic to your site.

Related article: How much does SEO cost?