How to fix seo variant urls in sitemap on BigCommerce
Remove product variant URLs (e.g. ?variant= or ?sku= query strings) from your XML sitemap and keep only the canonical base product URL for each product.
Steps for BigCommerce
- BigCommerce generates its sitemap automatically at yourdomain.com/xmlsitemap.php and normally excludes variant query strings.
- Go to Store Setup → Store Profile → Verify your store URL is correct so the sitemap root is accurate.
- If a third-party SEO app (e.g. 'SEO Doctor', 'Aheadworks SEO', 'Yotpo') is overriding the sitemap, open that app's settings and disable variant URL inclusion.
- For headless BigCommerce storefronts, see the Headless / Custom entry and filter out ?sku= or ?variant= parameters in your sitemap-generation script.
- Re-submit the sitemap in Google Search Console.
What is seo variant urls in sitemap?
When shoppers (or your platform) switch between product options like size, color, or material, the URL often changes to include a query string such as `?variant=12345` or `?sku=red-large`. These variant URLs all show the same product page with slightly different state — they are not separate products. An XML sitemap is a file that tells search engines which pages you want indexed. Including variant URLs in that sitemap tells Google there are many distinct pages worth crawling and indexing, when in reality there is only one canonical product page. The fix is to ensure your sitemap lists only the clean, base product URL (e.g. `/products/blue-sneaker`) for each product, with no query-string parameters attached.
Google treats variant URLs as duplicate or near-duplicate pages of the same product. Submitting them in your sitemap wastes your crawl budget — the portion of time and resources Google allocates to your site — on pages that add no indexing value, which means your real category and product pages may be crawled and refreshed less frequently. Duplicate content signals can also dilute the ranking strength of your canonical product page, splitting authority across many near-identical URLs instead of concentrating it on the one page you actually want to rank. Practically speaking, if Google indexes a variant URL instead of your base product URL, you may appear in search results with an ugly, parameter-laden link that confuses shoppers and reduces click-through rate. Keeping a clean sitemap is one of the fastest, lowest-risk wins for improving crawl efficiency and protecting your organic search traffic.
See the complete Seo variant urls in sitemap guide for every platform and the full background.
Not sure if your BigCommerce store has this?
Run a free SEOLZ scan — we’ll find seo variant urls in sitemap and every other issue across your whole site.
Scan my site free