Magento gives you more SEO control than almost any hosted ecommerce platform. You can shape every URL, set canonical tags per entity, edit robots directives, generate sitemaps per store view and change any template. The catch is that the same flexibility lets a store generate thousands of near-duplicate URLs, slow pages and conflicting signals if nobody configures it on purpose.
This Magento SEO guide covers the settings, fixes and Magento SEO best practices that matter most on Magento Open Source and Adobe Commerce 2.4.x in 2026. It starts with admin configuration, moves through crawl control, structured data and Core Web Vitals, and finishes with international setups, content, migrations and AI search visibility. A checklist table near the end gives you a one-page audit.
If you are new to the platform, start with our explainer on what Magento is and how its editions differ. Setting names below follow Adobe’s current 2.4.x admin documentation. Paths assume the default admin menu, so a heavily customized install may differ slightly.
Out of the box, Magento is SEO-capable but not SEO-ready. Three things cause most problems:
Fix those three and most Magento stores see crawl budget go to the pages that sell.
Start with the configuration screens. These settings apply site-wide and are quick wins.
Go to Stores > Settings > Configuration > General > Web > Search Engine Optimization and set Use Web Server Rewrites to Yes. This removes index.php from your URLs. Confirm your web server rewrite rules are in place before switching it on.
Under Stores > Settings > Configuration > General > Web > Url Options, the Add Store Code to URLs setting adds a store view code (for example /en/ or /de/) to every URL. It is useful for multi-language stores on one domain, but changing it on a live store changes every URL, so decide before launch or plan full redirects. Single-store sites should leave it off.
While you are in the Web section, make sure Use Secure URLs on Storefront is on, and consider enabling Upgrade Insecure Requests and Enable HTTP Strict Transport Security (HSTS) once HTTPS is stable.
Go to Stores > Settings > Configuration > Catalog > Catalog > Search Engine Optimization. The fields that matter:
Our guide to preventing duplicate content in Magento 2 with canonical URLs walks through the canonical options in more detail.
Go to Content > Design > Configuration, edit the Global (or relevant store view) row and expand Search Engine Robots. Set Default Robots to INDEX, FOLLOW on production. Use the Edit Custom instruction of robots.txt file box to add disallow rules (covered below).
A common and costly mistake is copying a staging database to production with NOINDEX, NOFOLLOW still set. Add this setting to your launch checklist.
Go to Stores > Settings > Configuration > Catalog > XML Sitemap. Set Frequency and Priority for categories, products and CMS pages, decide whether to Add Images into Sitemap, and enable scheduled generation under Generation Settings so the file stays fresh. Under Search Engine Submission Settings, setting Enable Submission to Robots.txt to Yes adds the sitemap location to robots.txt.
Then create the sitemap itself under Marketing > SEO & Search > Site Map, one per store view, and submit each in Google Search Console and Bing Webmaster Tools. Keep Maximum No of URLs Per File within the search engine limit of 50,000 URLs per file.
Each product, category and CMS page has Meta Title, Meta Keywords and Meta Description fields. Under Stores > Settings > Configuration > Catalog > Catalog > Product Fields Auto-Generation you can set a Mask for Meta Title and a Mask for Meta Description that prefill new products from fields such as the product name. Use them as a fallback, then hand-write titles and descriptions for your top categories and best sellers.
Layered navigation is the biggest source of crawl waste on Magento. Every filter combination (color, size, price, brand) can create a new URL, and on a large catalog that means millions of crawlable pages.
Some filter pages match real search demand, for example “black leather sofas” or “men’s waterproof hiking boots.” Those deserve indexable, optimized landing pages. Most combinations, such as price ranges or three stacked filters, do not.
Google’s own guidance on faceted navigation offers several options, and Magento stores usually combine them:
Under Stores > Attributes > Product, check which attributes are set to Filterable in layered navigation. Fewer, more meaningful filters help users and crawlers alike. For price filters, Stores > Settings > Configuration > Catalog > Layered Navigation controls how price steps are calculated.
Google no longer uses rel=”next” and rel=”prev”, so the old Magento extensions that added them offer little benefit for Google (other search engines may still read them). Current best practice is:
Beyond filters, look for these common Magento duplicates:
Magento’s Luma and Hyvä templates output schema.org microdata on product pages, but they do not emit JSON-LD by default and they miss fields that Google uses for rich results and merchant listings. Common gaps include brand, GTIN, and complete offer and review data.
Most stores add JSON-LD through an extension or a custom module. Aim to cover:
Validate with Google’s Rich Results Test and watch the Merchant listings and Product snippets reports in Search Console.
Speed is where Magento SEO and conversion overlap most. Use these levers in order of impact.
The Hyvä theme replaces Luma’s RequireJS and Knockout stack with Alpine.js and Tailwind CSS, and it typically cuts JavaScript dramatically. Since November 2025 the Hyvä theme is free and open source, so cost is no longer a reason to stay on Luma. Headless frontends are another route, at higher build cost.
Adobe recommends Varnish for production page caching. Set it under Stores > Settings > Configuration > Advanced > System > Full Page Cache > Caching Application, then export and apply the generated VCL. Adobe Commerce on Cloud uses Fastly, which is built on Varnish.
Adobe’s 2.4.9 requirements list Valkey 9 (a Redis-compatible store) for backend cache and session storage. Moving cache and sessions off the file system reduces time to first byte under load.
Adobe recommends Update on Schedule for indexers (System > Tools > Index Management), except the Customer Grid index. Make sure cron runs reliably. Stale indexes cause slow pages and wrong prices or stock on category pages.
Production mode should always be on. Adobe’s performance guidance lists Minify CSS Files, Minify JavaScript Files and Minify HTML as recommended, and notes that its built-in JavaScript bundling is not recommended where first-page load time is critical. On Luma stores, advanced bundling with tools such as r.js, or simply relying on HTTP/2, usually beats the built-in bundler. On Hyvä the problem mostly goes away.
Serve WebP or AVIF, size images to their display dimensions, lazy-load below-the-fold images, and preload the hero image on key templates to improve Largest Contentful Paint. A CDN with image optimization (Fastly on Adobe Commerce on Cloud includes it) handles much of this automatically.
No amount of front-end tuning fixes an underpowered server. Our Magento hosting guide covers requirements, hosting types and costs.
Magento’s store views are well suited to multi-language and multi-region sites, but hreflang is not generated natively. Your options are a hreflang extension or custom code. Whichever you use:
Validate with a crawler after every release, because hreflang breaks quietly when URL keys change in one store view and not another.
Category pages are often the highest-value organic pages on a Magento store. Give them:
On product pages, replace manufacturer descriptions with original copy, add specifications in a structured table, show reviews and answer common questions. Magento’s CMS pages and blocks, or Page Builder in Adobe Commerce and recent Open Source releases, make it easy to add this content without developer help.
For more ideas on content and promotion, see our list of Magento marketing hacks for ecommerce growth.
Strong internal linking helps crawlers find deep product pages and tells them which pages matter most.
Replatforming onto or off Magento, or upgrading from an old version, is when most traffic losses happen. Protect rankings with these steps:
If you are moving platforms, our list of Magento migration services can help you find a team that handles SEO as part of the project.
AI assistants and AI search features increasingly answer product and buying questions, and they draw on pages they can crawl and parse easily. For a Magento store, the basics overlap with good technical SEO:
Use this table as a quick audit for any Magento 2.4.x store.
| Area | What To Check | Where In Magento |
| Rewrites | Use Web Server Rewrites set to Yes | Stores > Configuration > General > Web |
| Store codes | Add Store Code to URLs set intentionally before launch | Stores > Configuration > General > Web > Url Options |
| HTTPS | Secure URLs on storefront, HSTS once stable | Stores > Configuration > General > Web |
| Product URLs | Use Categories Path for Product URLs set to No | Stores > Configuration > Catalog > Catalog > SEO |
| Redirects | Permanent redirect on URL key change set to Yes | Stores > Configuration > Catalog > Catalog > SEO |
| Canonicals | Canonical tags on for categories and products | Stores > Configuration > Catalog > Catalog > SEO |
| Robots | Default Robots set to INDEX, FOLLOW on production | Content > Design > Configuration |
| Robots.txt | Disallow sort, limit, price and search parameters | Content > Design > Configuration |
| Sitemap | Scheduled generation, one sitemap per store view | Stores > Configuration > Catalog > XML Sitemap |
| Layered navigation | Only meaningful attributes filterable, crawl controlled | Stores > Attributes > Product |
| Pagination | Self-referencing canonicals on paginated pages | Theme or SEO extension |
| Structured data | Product JSON-LD with brand, GTIN, offers, reviews | Extension or custom module |
| Speed | Varnish, Valkey, production mode, Hyvä or optimized Luma | Server and Advanced > System |
| Indexers | Update on Schedule, cron running | System > Tools > Index Management |
| International | Reciprocal hreflang and per-store-view canonicals | Extension or custom code |
| Content | Unique copy on top categories and products | Catalog > Categories and Products |
| Monitoring | Search Console and Bing Webmaster Tools per store view | External tools |
Technical SEO on Magento sits between development and marketing, so the best results usually come from a team that understands both. If you need help:
Yes. Magento gives you control over URLs, canonical tags, robots directives, sitemaps and templates. It needs careful configuration to avoid duplicate content from layered navigation and multiple store views, and it needs performance work to pass Core Web Vitals.
Not for the basics, which are built in. Most larger stores still add an extension for JSON-LD structured data, hreflang, noindex rules on filtered pages and bulk meta templates, because those are not handled natively.
Usually not. Setting Use Categories Path for Product URLs to No gives each product one clean URL, which avoids duplicates and keeps URLs stable when you move products between categories.
Combine robots.txt rules for low-value parameters, noindex on filtered pages you do not want indexed, canonical tags to the parent category, and dedicated landing pages for filter combinations with real search demand.
Indirectly, yes. Hyvä usually makes pages much faster than Luma, which improves Core Web Vitals and user engagement. It does not change your URLs, meta data or structured data on its own.
The core SEO settings are the same in Magento Open Source and Adobe Commerce. Adobe Commerce on Cloud adds Fastly CDN and image optimization, which help with speed, and Adobe Commerce adds content staging that makes scheduled SEO content changes easier.
Magento SEO comes down to three jobs: configure the admin settings correctly, control which URLs search engines crawl and index, and make the store fast. Get those right with the settings above, add structured data and hreflang where you need them, then invest in category content and internal linking.
Run through the checklist after every major release or upgrade, because Magento SEO problems usually return through configuration drift, new extensions or rushed migrations rather than one big mistake.