BigCommerce Robots.txt and Sitemap Settings: The Optimal Configuration

For most stores, the optimal setup is simple: keep the XML sitemap clean and mostly default, and use a conservative BigCommerce robots.txt file only to reduce obvious crawl waste. Your product pages, category pages, brand pages, blog posts, buying guides, and other revenue-generating content should stay crawlable so search engines can discover them, render them, evaluate their internal links, and understand their canonical signals.
Robots.txt, sitemaps, canonical tags, and noindex directives do different jobs. Robots.txt is a crawl instruction: it tells compliant crawlers which URL paths they should not request. An XML sitemap is a discovery file: it lists URLs you want search engines to find and revisit. A canonical tag points duplicate or similar URLs toward the preferred version. A noindex directive tells search engines not to keep a page in the index, but only if they can crawl the page and see that directive.
A strong BigCommerce SEO configuration usually protects crawl access to pages that can rank or generate sales, while keeping low-value patterns from consuming unnecessary crawl attention. Good candidates for crawl control include internal search results, cart and checkout paths, account pages, login pages, sort URLs, filter combinations with no search value, and duplicate tracking-parameter URLs. Weak candidates include broad category folders, product URL patterns, brand pages, or theme assets needed to render the page correctly.
User-agent: *
Disallow: /search.php
Disallow: /cart.php
Disallow: /checkout.php
Disallow: /login.php
Disallow: /account.php
Disallow: /*?sort=
Disallow: /*?mode=
Sitemap: https://www.example.com/xmlsitemap.phpTreat that as a conservative pattern, not a universal paste-in file. The decision guide in this article is about crawlability, index discovery, and avoiding preventable misconfiguration, not a full eCommerce SEO checklist or a promise that changing robots.txt alone will raise rankings.
What BigCommerce Handles Automatically
BigCommerce gives you a working baseline before you touch any custom SEO settings. On a typical live store, the robots file is exposed at the root of the domain, such as https://www.example.com/robots.txt, and the XML sitemap is commonly available at https://www.example.com/xmlsitemap.php. That means your first configuration task is usually not to create these files from scratch, but to inspect what the platform is already publishing.
The BigCommerce XML sitemap is meant to surface the store URLs search engines should be able to discover efficiently. In practice, that commonly means product pages, category pages, brand pages, web pages, and content or blog URLs where those features are used. These URL types matter because they represent the pages most likely to support organic search visibility: products capture item-specific demand, categories organize broader shopping intent, brands help with manufacturer or label searches, and content pages support informational or comparison queries.
The BigCommerce sitemap settings decision is therefore less about “turning on SEO” and more about quality control. A strong sitemap should list canonical, useful, indexable URLs. A weak sitemap exposes URLs that redirect, return errors, duplicate better pages, or represent thin operational paths. If your sitemap contains a discontinued product that now redirects, a category URL with unnecessary parameters, or a content page blocked elsewhere, it creates mixed discovery signals even if the file itself is technically valid.
Do not assume every BigCommerce store will produce identical output. Store configuration, catalog status, URL rewrites, redirects, theme behavior, apps, headless implementations, and historical migrations can all change what search engines actually encounter. The practical checkpoint is simple: open the live BigCommerce sitemap, sample each URL type, and make sure the listed URLs resolve cleanly to the preferred version of the page.
This is also where platform comparisons can prevent mistakes. Shopify and BigCommerce both generate platform-managed robots and sitemap behavior, but their defaults, file locations, and customization models are not interchangeable. A rule copied from a Shopify SEO playbook may be unnecessary or risky on a BigCommerce store, especially if it blocks a path that BigCommerce uses differently.
Robots.txt Controls Crawling, Not Guaranteed Indexing
A copied rule becomes risky when it turns a crawl-control decision into an indexing problem. A Disallow line tells compliant crawlers not to request matching URLs; it is not a removal command, a privacy control, or a guaranteed deindexing method.
The practical distinction is this: crawling is access, indexing is eligibility for storage and display in search results. If Google discovers a blocked URL through an internal link, an external backlink, or an old sitemap entry, the URL can still be known even though the page content is not crawled. In that situation, search results may show a bare URL or limited information because the crawler was prevented from fetching the page and reading its signals.
That matters for duplicate content decisions. If a duplicate filtered category URL is crawlable, Google can read the page, see a canonical tag, evaluate the content, follow internal links, and compare it with the preferred URL. If the same URL is blocked in robots.txt, Google may not be able to see the canonical tag, a meta robots noindex directive, the product links on the page, or the rendered content that would clarify whether the URL is useful, duplicative, or obsolete.
- Robots.txt
Disallow: controls crawl access. Use it for clearly low-value crawl paths, not for pages that need search engines to read cleanup signals. - Meta robots
noindex: tells search engines not to index a page, but the page generally needs to be crawlable for that directive to be seen. - Canonical tags: point from a duplicate or variant page to the preferred URL. Blocking the duplicate can hide that recommendation.
- Redirects and HTTP status codes: change what the crawler receives at the URL level. A redirect consolidates users and crawlers to another URL; a 404 or 410 indicates the page is gone.
The takeaway for crawlability and search visibility is conservative: block crawl traps only when you do not need search engines to inspect the page. For index cleanup, prefer crawlable noindex, canonicals, redirects, or proper status codes depending on the URL’s purpose.
The Best-Practice BigCommerce Sitemap Configuration
Your sitemap should be the store’s clean inventory of preferred URLs, not a dump of every URL BigCommerce can produce. The best-practice BigCommerce XML sitemap contains canonical, indexable, 200-status pages that you actually want search engines to discover, revisit, and evaluate for search visibility.

In practical terms, that usually means including product pages, category pages, brand pages, and valuable content pages such as buying guides, blog posts, support articles, and evergreen landing pages. A product URL belongs when it is the primary version of the product, returns a normal successful response, is not blocked from indexing, and is useful to shoppers. That supports product page optimization because search engines are being pointed toward the page where the title, copy, structured data, images, reviews, internal links, and canonical signal are meant to work together.
- Good sitemap signal:
https://www.example.com/mens-running-shoes/as the main category URL, with no tracking parameters and no alternate sort state. - Good sitemap signal:
https://www.example.com/nike/as a crawlable brand page that helps shoppers browse a meaningful product set. - Good sitemap signal:
https://www.example.com/blog/how-to-choose-running-shoes/when the page is useful, internally linked, and intended to rank.
Weak sitemap hygiene sends mixed signals. Keep redirected URLs out because the sitemap should name the destination, not the old address. Remove 404s and soft-404-like pages because they waste discovery attention. Exclude duplicate parameter URLs such as ?sort=price, ?limit=100, tracking-tag URLs, session variants, and non-canonical filtered views unless that variant is intentionally built as its own indexable landing page.
Also avoid placing noindex URLs in the sitemap. A sitemap entry says, in effect, “this is a URL worth discovering,” while noindex says “do not keep this page in the index.” Those signals have different jobs, and combining them makes cleanup harder to diagnose.
The XML sitemap best practices takeaway is simple: let the sitemap promote the URLs that represent your real catalog and content strategy, while the BigCommerce robots.txt file handles only crawl-control patterns that should not compete with those preferred pages. Clean sitemap inputs make online store SEO easier to audit because index coverage issues can be tied to specific URL types instead of a noisy mix of obsolete, duplicate, and non-canonical addresses.
What Merchants Can Safely Customize in Robots.txt
For developer-led SEO decisions, start by listing URL patterns that should never function as organic landing pages. The safest additions are rules that reduce crawling of URL groups with no realistic search purpose: cart, checkout, account, login, internal search results, session URLs, tracking-tag variants, sort states, and clearly duplicative filtered URLs.
The decision rule is strict: block only URL patterns that are clearly not intended to rank and do not need to be crawled for canonical or noindex signals. If Google must crawl a URL to see a canonical tag, follow product links, render category content, or process a noindex directive, robots.txt is usually the wrong control. If the URL is simply an operational step or a duplicate state of an already crawlable page, a disallow rule is usually lower risk.
- Operational URLs: paths such as
/cart.php,/checkout.php,/login.php, and/account.phpsupport shopping or customer access, not organic landing pages. Blocking them can reduce crawler attention on pages that should never compete with products, categories, or content. - Internal search: a pattern such as
/search.phpoften creates many keyword-based URL variations. These pages are usually weaker than curated category or brand pages because their content changes based on a query rather than a merchandising strategy. - Sort and display parameters: URLs containing values such as
?sort=,?limit=,?mode=, or similar controls usually rearrange the same products rather than creating a distinct page. Blocking these can help prevent crawlers from spending time on alternate presentations of the same catalog set. - Tracking and session parameters: URLs containing campaign, affiliate, click ID, or session values usually duplicate the clean URL while adding attribution data. These should not become independent crawl paths when the non-parameter URL is the preferred version.
- Faceted navigation duplicates: filters for size, color, price, rating, availability, or other attributes can generate many combinations. A filtered URL may be block-worthy when it is just a duplicate browsing state; it may be worth preserving when it represents a valuable, intentionally optimized landing page.
User-agent: *
Disallow: /search.php
Disallow: /cart.php
Disallow: /checkout.php
Disallow: /login.php
Disallow: /account.php
Disallow: /*?sort=
Disallow: /*?limit=
Disallow: /*?utm_
Disallow: /*?gclid=
Treat those lines as examples of pattern logic, not a universal robots.txt file. A store with custom URLs, custom checkout behavior, app-generated filters, or indexable faceted navigation may need different rules. The practical checkpoint is evidence of waste: if crawler reports show repeated hits to low-value parameter combinations while important catalog pages are being discovered normally, a targeted robots rule is easier to justify than a broad block copied from another store.
What You Should Usually Leave Crawlable
A rule that matches an entire storefront template or catalog directory is the danger signal: /products/, /product/, /p/, /category/, or a custom collection path can remove crawl access far beyond the duplicate URL you meant to control. Treat any pattern that also catches sale, comparison, manufacturer, editorial, or campaign landing URLs as high risk unless you can name the exact low-value state it targets.

- Catalog URLs: product pages describe individual items, while category pages group related inventory and often carry strong commercial search intent. Blocking either can reduce discovery, prevent crawlers from following merchandising links, and make it harder for search engines to evaluate page content, availability, structured data, and relevance.
- Brand and content URLs: brand pages help organize manufacturer or collection demand, while articles, guides, and landing pages support non-product searches and internal linking. These pages should remain crawlable when they are unique, useful, and intended to appear in search.
- Rendering assets: do not block theme files, images, CSS, or JavaScript that search engines need to render the storefront. If crawlers cannot load layout, navigation, product imagery, review widgets, schema output, or app-injected content, they may evaluate an incomplete version of the page.
- Canonical URLs: the preferred version of a page should be crawlable and included in the sitemap when it is indexable. A weak setup blocks the canonical URL while leaving duplicates crawlable; a stronger setup keeps the preferred URL accessible and controls only the duplicate patterns that do not need inspection.
For removal or consolidation, choose the control that matches the outcome. Use a crawlable noindex when a live page should be accessible to users but excluded from search. Use a canonical tag when similar URLs should consolidate toward a preferred version. Use a 301 redirect when a URL has a replacement. Use deletion with an appropriate unavailable status when the page should no longer exist. Robots.txt is the wrong shortcut when Google needs to crawl the page to see any of those signals.
How to Handle Filtered Category URLs and Faceted Navigation
Filters are where a clean crawl plan can either protect the catalog or accidentally hide useful demand. A filtered category URL is a category view narrowed by attributes such as color, size, brand, price, rating, or availability; faceted navigation is the storefront control that lets shoppers combine those attributes. The SEO question is not “block all filters,” but whether each pattern creates a search-worthy landing page or just another duplicate way to view the same products.

- Crawl-waste filters: combinations such as
?color=blue&size=small&price=25-50, sort orders, view modes, and in-stock toggles usually create thin, overlapping pages. Keep them out of the XML sitemap, reduce internal links where practical, and consider a BigCommerce robots.txt rule only when the pattern does not need to be crawled for a canonical ornoindexsignal. - Potential landing-page filters: pages like “black patio chairs,” “Nike running shoes,” or “organic dog treats” may deserve indexation when they match real search demand, support merchandising, have enough stable products, and can carry unique copy, metadata, headings, and internal links. Do not block these URLs just because they began as filters.
- Canonical tags: use canonicalization when the filtered page is useful for shoppers but should consolidate ranking signals to the main category. This keeps crawl access open so search engines can see the relationship between the filtered URL and the preferred category URL.
- Noindex: use a crawlable
noindexwhen the page should remain usable on-site but should not appear in search. This is better than robots blocking when the exclusion signal must be read on the page itself. - Static category pages: when a filter has durable search value, the stronger solution is often a dedicated optimized category page with a clean URL, curated products, unique content, and inclusion in the sitemap. That turns a temporary filter state into a deliberate search landing page.
A practical checkpoint is to group filtered URLs by pattern before changing controls: indexable demand pages, crawlable-but-not-indexed shopper utilities, canonicalized duplicates, and blocked crawl traps. The mistake to avoid is applying one broad Disallow rule to every filtered path, because that can remove crawl access from pages that could legitimately rank and sell.
How to Implement, Submit, and Validate the Configuration
Turn the pattern decisions into a deployment checklist, not a one-off edit. Start by capturing the current live files: save the rendered robots.txt, export or crawl the XML sitemap, and record a sample set of URLs from each important template type: product, category, brand, content, search, cart, account, and filtered category URLs.
- Inspect the live BigCommerce robots.txt file. Compare every
Disallowline against a real URL pattern. A strong signal is a narrow rule such asDisallow: /*?sort=; a weak signal is a broad rule such asDisallow: /category/because it can block pages that should be crawled. - Review the sitemap before submitting it. Your BigCommerce sitemap settings should result in a file that promotes clean, canonical, indexable URLs. Spot-check whether sitemap URLs return
200responses, avoid redirects, avoid blocked paths, and represent pages you actually want discovered. - Version-control every change. Store the previous robots file, the proposed file, the reason for each rule, and test URLs that should be allowed or blocked. This makes rollback simple if crawling or indexing behaves unexpectedly after launch.
- Submit the sitemap deliberately. Use the Google Search Console sitemap submission for the preferred sitemap URL, such as
https://www.example.com/xmlsitemap.php, then watch whether submitted URLs are accepted, excluded, redirected, blocked, or returning errors. - Test both sides of each rule. For every blocked pattern, test one URL that should be blocked and one nearby URL that must remain crawlable. For example,
/search.php?search_query=bootsmay be blocked while/mens-boots/should remain open.
Before launch, staging stores should not leak into search through temporary links, test domains, or copied sitemap submissions. Keep staging controls separate from production controls, and never promote a staging robots file to the live store without reviewing whether it contains broad blocking rules.
After deployment, run a short post-launch crawl and compare the results against your intent. Look for sitemap URLs that redirect, return non-200 statuses, are blocked by robots, or point to pages with conflicting canonical or indexation signals. Then monitor crawl and indexing reports over the next few crawl cycles rather than judging the change from the first recrawl.
The operational standard is simple: make conservative changes, validate them with real URLs, and revisit the setup whenever navigation, filters, URL structure, migrations, or major catalog architecture changes.
The Bottom Line: Keep It Clean, Conservative, and Verified
If the sitemap lists /mens-boots/ but robots rules block the category path, the configuration is sending the wrong signal. Let BigCommerce’s sitemap surface preferred, canonical URLs, and reserve crawl blocking for URL patterns that have a clear reason to stay out of the crawl queue.
- Green-light pages: products, categories, brands, blog posts, buying guides, and key landing pages should remain accessible because they support discovery, internal linking, and product page optimization.
- Controlled patterns: cart, checkout, account, login, internal search, sort parameters, tracking parameters, and low-value filter combinations are better candidates for robots rules because they rarely represent standalone search demand.
- Review signals: the live
robots.txt, XML sitemap contents, crawl results, and search engine reports should agree with the same intent: important URLs are crawlable and sitemap-listed; blocked URLs are deliberately low value.
The strongest eCommerce SEO setup is not the longest robots file or the most customized sitemap. It is a simple, intentional system: BigCommerce publishes clean sitemap URLs, robots rules stay narrow, revenue-driving templates remain open, and the configuration is reviewed whenever the catalog, navigation, filters, or URL structure changes.





