SEO URL templates
Shopware builds product, category and landing page URLs from SEO URL templates written in Twig, globally or per sales channel. The default product template in the source code is {{ product.translated.name }}/{{ product.productNumber }}, categories follow the category breadcrumb. After a template change the index has to be rebuilt (bin/console dal:refresh:index). One setting decides what happens to old URLs: they keep pointing to the newest URL via canonical, or they redirect to it with a 301.
Variants and canonicals
Every variant can have its own URL. In the product's SEO tab, "Use single canonical URL for all variants" lets you choose one variant as the canonical for all of them. Whether that is right depends on the assortment: sizes of the same shoe belong together, colours people search for by name may deserve their own page. The listing display (main product, single main variant, or properties fanned out into individual variants) decides which variant URLs are linked from categories.
Filters, sorting and pagination
Storefront filters and sorting are URL parameters: ?properties=, ?manufacturer=, ?order=, pagination is ?p=. In 6.7.16.2 the category canonical is the clean SEO URL, with ?p= kept only from page 2 onwards. The default robots.txt contains Disallow: /*?, which blocks all parameter URLs, including paginated pages. Products that are only reachable from page 3 of a category then depend on the sitemap and other internal links.
Sales channels, domains and hreflang
A sales channel can have several domains, each with its own language, currency and snippet set. In the sales channel's hreflang settings you enable hreflang and choose a default domain, which Shopware outputs as x-default. The documentation also recommends registering each domain with only one protocol (https), because both would create duplicate content.
Sitemap
Under Settings, Content, Sitemap you choose the refresh strategy: scheduled task, live, or manual with bin/console sitemap:generate. The file lives at /sitemap.xml and is split into several files for large catalogues. A sitemap that is only regenerated manually is a common reason why new products take weeks to appear. The sitemap checker shows what is in it.
robots.txt and robots meta
Since version 6.7.1 Shopware generates robots.txt itself, with the sitemap linked and domain-specific rules configurable in the admin. With staging mode active it outputs Disallow: /, a setting worth checking right after every go-live. Older installations often still have a hand-written file. Test the live result with the robots.txt tester.