SEO basics: meta data, robots.txt and the sitemap

What you can do for search engines yourself: meta titles and descriptions for products, categories and pages, instructions for robots, and the sitemap.

⏱ 7 minBeginnerUpdated 8 Oct 2026

When your shop is set up, it is already technically ready for search engines. What depends on you is the text: the titles and descriptions Google shows in its results, and keeping the sitemap up to date.

Meta title and meta description

Every product, category and page has a Search Engine Optimization section with three fields:

FieldWhat it isRecommendation
URL Keypart of the web addresslower case, hyphens, no special characters (such as č, š, ž); do not change it after publishing unless you have to
Meta Titlethe title in search results and in the browser tabup to 60 characters, most important word first
Meta Descriptionthe text below the title in search resultsup to 160 characters, one or two sentences that invite the customer to click

Catalog › Products › (product) › Search Engine Optimization

The Search Engine Optimization section on a product
  1. URL Key
  2. Meta Title
  3. Meta Description

For a category, the same fields are in Catalog › Categories › Search Engine Optimization, and for a page in Content › Elements › Pages › Search Engine Optimization. You can leave Meta Keywords empty; Google ignores them.

If the meta title is empty, the shop uses the product name; if the meta description is empty, the search engine builds one from the page text. Fill in meta data for categories and your best-selling products first, and only then for everything else.
The default title prefix and suffix (for example the shop name at the end of every title) are in Content › Design › Configuration › Edit › HTML Head: Page Title Prefix, Page Title Suffix and Default Meta Description.

Search engine robots (robots.txt)

Content › Design › Configuration › (website) › Edit › Search Engine Robots

The Search Engine Robots section with the Default Robots setting and the robots.txt instructions
  1. Default Robots - INDEX, FOLLOW for a live shop.
  2. Edit custom instruction of robots.txt File - extra rules for search engines.
  • Default Robots must be INDEX, FOLLOW on a live shop. NOINDEX, NOFOLLOW blocks search engines from the whole shop; it is only used while the shop is being built.
  • Edit custom instruction of robots.txt File contains rules about which paths search engines should not visit (cart, checkout, login). We set the content of this field for you; please do not change it without talking to us first.
A wrong robots setting can remove your shop from Google within a few weeks. If Search Console shows the warning "Blocked by robots.txt" or "Excluded by 'noindex' tag", write to us.

Sitemap

The sitemap is a file listing all the addresses in your shop. Google reads it to find new products faster. You create the sitemap once; after that it updates itself.

Marketing › SEO & Search › Site Map

The list of sitemaps with the Add Sitemap button
Add Sitemap - a new sitemap for one store view.
  1. Click Add Sitemap. In Filename enter sitemap.xml, in Path enter /, and under Store View choose the language.

    The new sitemap form with the filename, path and store view
    1. Filename - sitemap.xml (for a second language, for example sitemap-en.xml).
    2. Path - / means the root of the shop.
    3. Store View - the language whose addresses go into the sitemap.
    4. Save & Generate - saves and creates the file straight away.
  2. Click Save & Generate. A row appears in the list with a Link for Google column; enter that address in Search Console under Sitemaps.

  3. Create a separate sitemap with a different filename for each language.

The shop refreshes the sitemap automatically (setting in Stores › Configuration › Catalog › XML Sitemap › Generation Settings). To refresh it by hand, click Generate in the Action column, for example after a large product import.

Warnings in Search Console

WarningWhat it meansWhat to do
Not found (404)the page no longer exists (deleted or disabled product)add a redirect (how)
Page with redirectthe address leads to another addressusually fine, no action needed
Crawled - currently not indexedGoogle knows the page but does not show itimprove the description and meta data; it gets better over time
Duplicate without user-selected canonicalthe same content at two addresses (filters, sorting)if there are many such pages, write to us

Common problems

Google shows an old title or description

Google refreshes its results with a delay of a day to a few weeks. In Search Console you can ask for the address to be checked again (URL Inspection › Request indexing).

New products are not in Google

Check that the sitemap has been refreshed (the Last Generated column) and is submitted in Search Console. Google finds a new product within a few days to a few weeks.

Was this article helpful?

Related