serkankaya.
Türkçe sürüm
Let’s work together ↗

Shopify SEO: The Platform's Technical Limits and Fixes

How to do Shopify SEO: learn the technical limits of fixed URLs, redirects, noindex, robots.txt.liquid, Markets and hreflang, and how to work around each.

Shopify SEO is the work of making a store built on Shopify visible in organic search for its product, collection and content pages. The short answer: Shopify handles core technical tasks such as the sitemap, robots.txt and canonical tags by itself. Your job is to know which areas the platform keeps fixed and to manage the rest from the right place.

I wrote this post from a developer’s point of view. I covered the general store SEO framework in my ecommerce SEO guide. Here I focus only on the technical limits specific to Shopify and how to solve them.

How does Shopify SEO work?

Shopify SEO works through a combination of the technical foundation the platform generates and the content and settings the store owner manages. Shopify generates a sitemap.xml file for every store. The file links to products, their primary images, pages, collections and blog posts.[2] When you add a new product or collection, the sitemap updates by itself.[2]

The page’s HTML output is produced by the theme. Shopify themes are written in a template language called Liquid. The title tag, meta description, canonical and structured data all come from these Liquid files. That is why, when I see an SEO problem on Shopify, the first place I look is not the content but the theme’s theme.liquid file and the apps added later.

Shopify admin data Liquid theme HTML and tags Google crawl
Product data you enter in the admin becomes HTML through the theme; Google sees that output.

This flow has an important consequence. A meta description entered correctly in the admin will not appear on the page if the theme or an app overrides it. To see the real output, I use the URL Inspection tool in Search Console. I explained how to use it in my Google Search Console guide.

What are Shopify’s technical SEO limits?

Shopify’s main technical limit is that the URL structure and some files are kept fixed by the platform. Product URLs start with /products/, collection URLs with /collections/, pages with /pages/ and blog posts with /blogs/. On a standard store you cannot remove these prefixes. Shopify also does not allow you to create redirects from fixed paths such as /products, /collections and /collections/all.[1]

The part after the prefix is called the handle. The handle is the unique short name of the product or collection in the URL. In /products/steel-thermos, the handle is steel-thermos. This is the part you can change, and it is the part that matters for SEO.

The second limit is duplicate URLs. In Shopify, a product can also open under a collection path. In this case themes point the canonical tag to the product’s base URL. I covered how canonicals work in detail in what is a canonical tag. Tag filter URLs create a similar problem. Shopify does not let you create redirects for tag filter URLs in the form /collections/collection/tag; the URL is considered valid even if no products carry that tag.[1]

Shopify does automatically

  • Generates and updates sitemap.xml
  • Writes default robots.txt rules
  • Themes output the title and canonical tag
  • Adds hreflang tags with Markets

You need to manage

  • Handle and redirect plan
  • Titles, meta descriptions and product copy
  • Code and tags added by apps
  • Pages to hide and custom robots rules
In Shopify, part of the SEO work stays with the platform and part stays with the store team.

How do you manage URL structure and redirects in Shopify?

Short answer

How do you redirect a URL in Shopify after changing it?

When you change the handle of a Shopify product or collection, the old URL breaks and needs a redirect. Redirects only work from URLs that return a 404. So first list the old and new URL pairs, then change the handle, set up the redirect and test the result in a browser.

  1. Write the old handle and new handle mapping in a table.
  2. Change the handle field on the product or collection edit screen.
  3. Check that the create URL redirect option is ticked.
  4. For bulk changes, import redirects with a CSV file.
  5. Open the old URL in a browser and confirm it goes to the new one with a 301.
  6. Update menu and in-text links to the new URL.

In Shopify, redirects only work from broken URLs. If the old URL still opens a valid page, the redirect does not kick in.[1] Standard plans allow up to 100,000 redirects, and the Plus plan up to 20,000,000.[1] That limit is enough for most stores. But for large catalogs migrating from another platform, the redirect list should be planned from the start.

A few special cases are worth knowing too. Shopify does not allow redirects from URLs that start with prefixes such as /apps, /cart and /orders.[1] In stores using subfolders with Markets, redirects are not applied to every market folder automatically; each subfolder needs its own redirect.[1] 301 redirects are cached by browsers and search engines. Deleting a wrong redirect later does not make it stop working right away.[1]

In Turkish-language stores I check the handle separately. A handle generated automatically from the product name can be needlessly long. I also look at how Turkish characters are converted. Making the handle short and readable before launch is far cheaper than building redirect chains later.

How do you hide a page from search engines in Shopify?

There are three ways to hide a page from search engines in Shopify: adding a conditional noindex tag to the theme code, using the seo.hidden metafield, and choosing the Unlisted status for products. Which one you pick depends on whether the page should stay visible inside the store.

The first way is the theme code. A conditional tag added to the head section of theme.liquid keeps a page with a specific handle out of the index.[3] With this method the page is hidden from search engines but stays visible in the store’s own search.[3]

{% if handle contains 'handle-of-page-to-hide' %}
  <meta name="robots" content="noindex">
{% endif %}

The second way is the seo.hidden metafield. When this metafield is added to a product, page or blog post and set to 1, the content is hidden from the sitemap, search engines and the store’s own search.[3] Some SEO apps use the same field for their own hiding. In that case the admin shows a warning that the field is already taken.[3]

The third way applies only to products. When a product’s status is set to Unlisted, the product is removed from internet search, Shopify Catalog and the sitemap; it also stops appearing on collection pages and in store search.[3] The product only opens through a direct link. I prefer this method for a specially priced campaign product or a bundle shown only to paid traffic.

When should you edit robots.txt.liquid?

You should edit robots.txt.liquid only when there is a specific crawling problem that Shopify’s default rules do not cover. Shopify generates a robots.txt file that is enough for most stores. For example, the cart page is blocked from crawling by default because it is unique to each customer.[3]

When you add the robots.txt.liquid template to your theme, it replaces the output Shopify generates.[4] Shopify recommends saving a copy of your current /robots.txt output before making changes and comparing it with the new output.[4] It also recommends using the Liquid objects in the template instead of writing rules as plain text.[4] That way your store stays current when Shopify updates its default rules.

Shopify’s sample template prints the default rule groups in a loop using the robots.default_groups object. By adding a condition inside the loop, you can block crawling of search URLs with the ?q= parameter for all bots.[4] A rule that is not part of the default groups is added as plain text outside the loop.[4] In the example below, the default rules are kept and a bot not on the list is blocked separately:

{% comment %} Shopify's loop that prints the default rules stays here unchanged {% endcomment %}

User-agent: discobot
Disallow: /

With the same method you can allow a specific bot or define an extra sitemap URL.[4] I explained which decision I make for AI crawlers and why in AI crawlers and robots.txt.

What should you watch on product and collection pages?

In Shopify, product and collection pages rank on the title, meta description and description text entered in the admin. According to Shopify’s keyword guide, the title field accepts up to 70 characters, but staying under 60 is recommended to avoid truncation. The same guide recommends 160 characters for the meta description.

I do not copy product descriptions from the manufacturer’s text. When the same text is published on dozens of stores, the product page has no distinguishing information left. Building the copy around use cases, ingredients, size and frequent questions from your own customers works better. I explained the structure I build for collection pages in category page SEO.

Image file names hit a separate Shopify limit. According to Shopify’s site structure guide, the file name of an uploaded image cannot be changed in the admin. You have to rename the file on your computer and upload it again. So the cleanest path is to give images descriptive file names before uploading and to fill in the alt text in the admin.

I also check the product structured data. Most themes add JSON-LD to product pages, but whether price, stock and variant information is complete varies from theme to theme. I listed the required fields in my product schema post.

To measure title and meta description length before publishing, you can check the character count and how it will look on Google with the tool below. The rule is simple: the title should stay around 60 characters and the description around 160.

Title and description length check
Title–
Description–

How do apps and theme speed affect SEO?

Shopify apps can change both page speed and SEO output by adding scripts and tags to the theme code. Shopify’s frequently asked questions about SEO page also notes that problems such as a missing title usually come from manual edits to theme files or changes made by an app. Removing an app does not always clean up its code either. Leftover scripts can keep slowing down page loads.

On speed, you cannot change the server and CDN part of Shopify’s infrastructure. What you can work on is the theme, the images and third-party scripts. I explained step by step how I improve LCP, INP and CLS in improve Core Web Vitals.

There is one more issue for stores selling in Turkey. Cookie and tracking apps should also be assessed under KVKK, Turkey’s personal data protection law. Not adding tracking tags to the theme code before setting up consent management is a cleaner start, both legally and technically.

How do you manage hreflang in a multilingual store with Shopify Markets?

In stores that use Shopify Markets, hreflang tags are added automatically by Shopify and in most cases need no manual work. Shopify adds these tags through the content_for_header object that runs in the theme’s head section.[5] The tags reflect each market’s language and region and update by themselves when market settings change.[5]

The real risk is adding new tags through the theme or an app on top of the automatic ones. Shopify’s developer documentation states that this can produce duplicate or conflicting annotations and hurt rankings.[5] If you need to manage your own tags, you can turn off the automatic ones under Online Store > Preferences.[5] In that case each localized URL needs to reference itself as its canonical.[5]

Stores using different domains also get multiple sitemaps. When the international domains feature is used, Shopify generates a separate sitemap for each domain.[2] Each domain needs to be verified separately in Search Console and its sitemap submitted separately.[2] Extra domains without international targeting should redirect to the primary domain.[2]

Shopify SEO checklist

The list below contains the technical items I check in the first week after taking over a Shopify store. For a general store audit, you can also see my ecommerce SEO checklist.

Shopify SEO technical audit checklist0/9

Conclusion

Shopify solves a large part of technical SEO by itself, but it leaves clear limits in the URL structure, redirects and theme output. A team that knows these limits can see the risk of traffic loss in advance at every step, from a handle change to an app install. As a first step, check the items on the checklist one by one in your store.

You can see how I approach SEO and ad measurement together for ecommerce stores on my SEO services and performance marketing pages.

Key terms

Liquid
Liquid is the template language Shopify themes use to build page HTML from product, collection and store data. SEO outputs such as the title, meta tags, structured data and robots.txt.liquid are also generated in Liquid files. A small Liquid change in the theme can affect an entire page type.
Handle
Handle is the unique short name that follows the prefix in the URL of a Shopify product, collection, page or blog post. In /products/steel-thermos, the steel-thermos part is the handle. When a handle changes, the old URL breaks and needs a redirect.
seo.hidden
seo.hidden is a Shopify system metafield added to a product, page or blog post that, when set to 1, hides that resource from the sitemap, search engines and the store's own search. Some SEO apps also use this field to hide content.
Shopify Markets
Shopify Markets is the international selling feature that opens a single Shopify store to different countries and languages through a domain, subdomain or subfolder. When Markets is used, Shopify generates hreflang tags automatically based on each market's language and region codes.

Frequently asked questions

Do I need a separate app for Shopify SEO?

Not for the basics. Shopify generates sitemap.xml and robots.txt on its own and offers title and meta description fields in the admin. An app saves time on repetitive work such as bulk redirects or bulk meta edits. You still need to check the script and tags each app adds to your theme code.

Can I remove the /products/ and /collections/ prefixes in Shopify?

On a standard store these prefixes are fixed and cannot be changed in the admin. Shopify also does not let you create redirects from these fixed paths. What you can change is the part after the prefix, called the handle. For SEO, the handle being short and meaningful matters far more than the prefix.

Where is my Shopify store's sitemap?

The sitemap sits in the root directory of your store's domain, for example at yourdomain.com/sitemap.xml. Shopify generates the file automatically and updates it whenever you add a product, collection, page or blog post. Submitting it to Google Search Console once is enough.

Why doesn't my Shopify store show up on Google?

The most common reasons are that the store is in password-protected (private) mode, still on a trial, or very new. If you migrated from another platform, redirects from the old URLs may be missing. The URL Inspection tool in Search Console shows whether a page was crawled and why it was not indexed.

How do I hide a product from search results in Shopify?

If you want the product to open only through a direct link, set its status to Unlisted; it is removed from search engines and the sitemap. If you want it to stay visible inside the store, you can set the seo.hidden metafield to 1 or add a conditional noindex tag to the theme code.

Sources

  1. Shopify Help Center: Creating and managing URL redirects
  2. Shopify Help Center: Finding and submitting your sitemap
  3. Shopify Help Center: Hiding a page from search engines
  4. Shopify.dev: Customize robots.txt
  5. Shopify.dev: Use hreflang tags in your theme