Shopify SEO: the complete technical guide

Shopify and e-commerce 7 min read
Abstract illustration of an online storefront connected to a magnifying glass and rising charts

SEO for Shopify means making the catalog easy for Google to understand and useful for searchers: a clear collection structure, consistent URLs and canonicals, correct structured data, a fast theme and original content on products and categories. Shopify provides a good technical foundation, but it does not solve duplication, filters and thin content on its own: those depend on the project.

In this guide you will find the technical fixes we apply to Shopify stores, in order of impact.

What Shopify does on its own (and what it does not)

Shopify automatically handles some fundamental aspects:

  • generates the XML sitemap and updates it when you add products;
  • adds the canonical tag to pages;
  • provides a default robots.txt file, customizable through the robots.txt.liquid template;
  • the store is served over HTTPS with a global CDN;
  • lets you edit the title, meta description and URL of products, collections and pages.

What it does not do: decide the catalog structure, write original content, choose a lightweight theme, limit the apps that slow things down, manage filters so they do not generate useless pages. This is where rankings are won or lost.

Catalog structure and collections

Collections are the equivalent of categories and are the pages that most often capture commercial searches ("women's hiking boots", "organic extra virgin olive oil"). That is why they should be designed around real searches, not just around the internal organization of the warehouse.

  • Start with keyword research to understand which groupings people search for.
  • Create collections for the main search intents and link them from the menu.
  • Avoid nearly identical collections competing for the same search.
  • Add a short, useful introductory text to each important collection, and in-depth content at the bottom of the page if needed.

URLs, duplicates and canonicals

Shopify uses fixed URLs: /products/, /collections/, /pages/, /blogs/. These prefixes cannot be removed, and that is not a problem for rankings. The critical point is another: the same product can also be reached from URLs like /collections/nome-collezione/products/nome-prodotto.

Shopify sets the canonical to the main URL /products/nome-prodotto, but many themes link internally to the long version. The result: Google crawls many variants of the same product and the signals are dispersed. The fix is made in the theme, by pointing the product grid links to the canonical URL.

Other points to check:

  • short, descriptive URLs, without internal codes or unnecessary words;
  • 301 redirects when you change a product handle (Shopify offers to create it, you must confirm);
  • permanently discontinued products: redirect to the replacement product or the collection, not empty pages.
The pillars of Shopify SEO: Catalog structure, URLs and canonicals, Structured data, Theme speed, Collection content
The five areas that determine a Shopify store's rankings.

Filters, sorting and pages not to index

Collection filters (size, color, price) generate URLs with parameters. Left unchecked, they can create thousands of crawlable combinations, almost all without value. The typical solutions:

  • block crawling of filter combinations via robots.txt.liquid, with targeted rules;
  • create real collections (with their own URL and copy) only for combinations that have search volume, for example "white sneakers";
  • handle pagination and sorting carefully, so they do not become indexed pages in their own right.

Changes to robots.txt should be made carefully: a wrong rule can exclude entire sections of the store. For a broader picture, see the technical SEO checklist.

Structured data for products and the store

Structured data is information in Schema.org format that helps Google understand a product's price, availability, reviews and brand, and it can generate rich results. Many themes include basic markup, often incomplete.

What to check:

  • Product with name, image, description, brand, sku or gtin;
  • Offer with price, currency, availability and shipping and return conditions if available;
  • AggregateRating only if the reviews are real and visible on the page;
  • BreadcrumbList and Organization at store level.

Avoid having duplicate markup from both the theme and apps at the same time. Testing with Google's Rich Results tool and the report in Search Console show the errors. Further reading: practical guide to structured data.

Speed and Core Web Vitals

On Shopify, speed depends almost entirely on two factors: the theme and the apps. The infrastructure is already optimized. The actions that deliver the most results:

  • choose or develop a lightweight Online Store 2.0 theme, without unnecessary libraries;
  • remove unused apps and check that they do not leave code in the theme;
  • upload images at the correct size, with lazy loading below the fold;
  • limit autoplay videos, sliders and pop-ups at the top of the page;
  • check the tracking and marketing scripts loaded on the page.

A custom-coded theme gives you the most control over these aspects: we discuss this in custom Shopify theme.

Content: product pages, collections and blog

Descriptions copied from the supplier are identical on dozens of sites and give Google no reason to prefer yours. Every important product deserves original copy that answers buyers' questions: materials, sizes, use, differences from other models. You will find a complete method in how to write a product page.

Shopify's blog is basic but sufficient for guides and informational content that bring traffic and link to collections. Images must have descriptive alt text, which is also useful for accessibility.

International SEO with Shopify Markets

If you sell in several countries, Shopify Markets manages languages and domains or subfolders per market, and adds hreflang tags. Translations, however, need care: content that is machine-translated and never reviewed rarely ranks. We discuss this in selling abroad with Shopify Markets.

Monitoring the store over time

E-commerce SEO does not end at launch: products coming and going, new collections and new apps constantly change the site. Some checks to do regularly:

  • Google Search Console: indexed and non-indexed pages, 404 errors, issues in product structured data, queries that bring impressions without clicks.
  • Out-of-stock products: decide case by case whether to keep the page (restock expected), redirect it or remove it.
  • New apps: check that they do not add duplicate markup or slowdowns.
  • Seasonal collections: a stable URL reused every year (for example a "Christmas gifts" collection) is better than a new page every season.
  • Internal links: the most important collections must receive links from the menu, the homepage and blog articles.

A light monthly check and a more in-depth audit once or twice a year are usually enough for a medium-sized store.

How we work at NEXO

For the Shopify stores we work on, in Naples, in Ischia and all over Italy, we start with a technical audit (full crawl, Search Console, speed, structured data), then define the collection structure around real searches, work on the theme and content and measure results on an ongoing basis. We work this way both in Shopify development projects and in SEO projects on existing stores.

Frequently asked questions

Is Shopify good for SEO?

Yes. It offers a solid technical foundation: sitemaps, canonicals, HTTPS and fast infrastructure. Its limits, such as fixed prefixes in URLs, do not prevent ranking. What makes the difference is catalog structure, content and theme quality.

Can you edit robots.txt on Shopify?

Yes, by creating the robots.txt.liquid template in the theme. It is useful for managing filters, but should be used carefully because a mistake can block important pages.

Do you need SEO apps on Shopify?

Not always. Many functions of SEO apps can be achieved with a well-developed theme. An app can be useful for periodic checks or for managing large numbers of meta tags, but every app added should also be assessed for its impact on speed.

How long does it take to see results?

Technical fixes usually have an effect within a few weeks; content and consolidating collections take months. It depends on competition, the domain's history and the consistency of the work.

Want to understand what is holding back your Shopify store's rankings? Message us on WhatsApp or by email from the contact page: we start with a technical analysis and tell you where to act first.

  • shopify seo
  • e-commerce seo
  • structured data
  • robots.txt
  • collections
  • speed

We start from what you have.

Tell us about your business: we will tell you what you need and where to start. We reply within one business day.

WhatsApp