By SitemapFixer Team
Updated October 2026

Magento SEO: The Adobe Commerce Settings That Matter

Short answer: most Magento 2 SEO work happens in one place: Stores → Settings → Configuration → Catalog → Catalog → Search Engine Optimization. Turn on canonical tags for products and categories. Keep category paths out of product URLs. Let Magento add a permanent redirect when a URL key changes. Then write a unique title and description for each page, keep filter URLs out of the index, check robots.txt, and make an XML sitemap for each store view.

The core settings

In the Search Engine Optimization section, clear “Use system value” next to a field before changing it, then click Save Config. Most of these are set per store view.

SettingSuggestedWhy
Use Canonical Link Meta Tag for ProductsYesTells Google which product URL to index when the same product is reachable at several URLs.
Use Canonical Link Meta Tag for CategoriesYesSame for category pages. Adobe recommends enabling both.
Use Categories Path for Product URLsNo (usually)Adobe notes it can create multiple URLs for one page. With it off, each product has one short URL.
Create Permanent Redirect for URLs if URL Key ChangedYesAdds a permanent redirect automatically when you rename a product or category URL key.
Product URL Suffix / Category URL SuffixPick once, then leave itOptional .html-style suffix. Changing it later changes every URL, which needs redirects.
Generate "category/product" URL RewritesDepends on catalog sizeAdobe warns that generating these when saving a category with many products can hurt performance.

Duplicate product URLs

The most common Magento SEO problem is one product at several addresses, for example /shoes/running/trail-runner.html and /trail-runner.html. That happens when category paths are included in product URLs. Fix it two ways at once:

  1. Set Use Categories Path for Product URLs to No, so internal links use the short URL.
  2. Set Use Canonical Link Meta Tag for Products to Yes, so any remaining variants point to the main URL.

Then check a product in Search Console’s URL Inspection: the Google-selected canonical should match the URL you want.

Meta titles and descriptions

Each product and category has a Search Engine Optimization section with the URL Key, Meta Title, Meta Keywords and Meta Description. Adobe says to keep each meta title unique and under 70 characters. For the description, it suggests 150–160 characters (the field takes up to 255). Google doesn’t use meta keywords, so don’t spend time on them. On large catalogs, product attributes such as name, brand and type make a good pattern for titles; avoid identical titles across variants.

Layered navigation (filters)

Filters for color, size, price and sorting create parameter URLs that show the same products in different combinations. Google recommends keeping filtered and re-sorted variants out of the index with a noindex robots meta tag or robots.txt. Pick one approach per filter type, and keep these URLs out of your sitemap. See faceted navigation.

Category pagination (?p=2) is different: those pages lead Google to the products listed on them, so leave them indexable with their own canonical. See pagination SEO.

robots.txt

Edit it under Content → Design → Configuration, in the Global configuration’s Search Engine Robots section. Common lines block the checkout, customer account, cart and internal search results. Make sure you never block CSS, JavaScript or media folders that pages need to render, and add a Sitemap: line pointing to your sitemap. See robots.txt guide.

XML sitemap

Configure what goes in under Stores → Configuration → Catalog → XML Sitemap (products, categories, CMS pages, images and generation schedule), then create and generate the file under Marketing → SEO & Search → Site Map, one per store view. Submit it in Search Console. Step by step: Magento sitemap guide.

After generating it, test it: the free sitemap checker checks 30 of its URLs live for errors, redirects, noindex and canonical mismatches, which catches disabled products and old URLs still listed.

Product pages and structured data

  • Write your own product descriptions; copying the manufacturer’s text gives Google the same page that dozens of other shops have.
  • Adobe says schema.org structured data is in the product template by default. Test a product with the Rich Results Test, especially on a custom theme.
  • Out-of-stock products: keep the page live if the product returns; if it’s gone for good, redirect to the closest replacement or let it return 404.
  • Give product images descriptive alt text.

Speed

Magento stores are often slow on product and category pages. Use full-page caching (Adobe strongly recommends Varnish for on-premises production; Commerce on Cloud uses Fastly), serve images in modern formats at the right size, and check real-user Core Web Vitals in Search Console. See Core Web Vitals.

Frequently asked questions

Is Magento good for SEO?

Yes, it has the core controls built in: editable URL keys, canonical tags, automatic redirects when URLs change, meta fields, an XML sitemap and robots.txt settings. The usual problems come from configuration, mainly duplicate product URLs and indexable filter pages.

Where are the SEO settings in Magento 2?

Stores > Settings > Configuration > Catalog > Catalog > Search Engine Optimization. Clear "Use system value" before changing a field, then Save Config.

Should I use category paths in product URLs?

Usually not. Adobe notes that including category paths can create multiple URLs for one product page. If you keep it on, turn on the canonical link meta tag for products.

Do I need an SEO extension for Magento?

Not for the basics; the settings above are built in. Extensions can help with bulk meta templates, extra structured data or advanced filter-URL control on large catalogs.

Does Magento add product structured data?

Adobe says schema.org structured data is added to the product template by default. Check your theme with the Rich Results Test, since custom themes can remove or change it.

Related guides