This guide answers: checkout and cart pages and seo: should they be indexed
Checkout and cart pages and SEO: should they be indexed
Cart and checkout pages should not be indexed. Learn why noindex beats robots.txt and canonical tags, how to set it up, and what to audit on your store.
By Hannah Wells, Technical SEO, site performance and online stores
· 7 min read
updated

Short answer
No, cart and checkout pages should not be indexed. The reliable way to keep them out is a noindex robots meta tag on pages Google is allowed to crawl. A robots.txt block does not do the same job, and a canonical tag does not either. This page explains why, how to set it up, and what to audit.
Key points
- A cart page shows what one visitor has chosen to buy.
- These three tools get mixed up constantly. They do different things.
- If you prefer server-side control, the same instruction can be sent as an HTTP header: X-Robots-Tag: noindex, follow.
- Cart pages are not product pages. Schema.org Product markup exists for pages where a product is presented.
Why search engines should not index checkout and cart pages
A cart page shows what one visitor has chosen to buy. A checkout page collects that visitor’s details and payment choices. Both are transactional states, tied to a session or a logged-in user. Nobody searches for “my shopping cart”, and nobody wants a search result that leads to someone else’s checkout step.
That is the core of the argument: these pages serve no search intent. They have nothing to rank for and nothing for a searcher to discover.
There is also a crawl cost. Alice’s cart is not Bob’s cart, so a store can generate a large number of near-empty, per-user URLs. Each one asks a crawler to spend time on a page with zero ranking value. That time is better spent on category and product pages, which are the pages that can actually answer a query.
Then there is the trust problem. If a partially filled cart ended up in search results, the visitor who clicked it would land on a confusing, half-broken page. That is a poor experience and a poor signal for the store.
A word of caution on wording. Google does not publish a ranking penalty for indexed carts, so claiming one would be wrong. The accurate framing is that indexed cart URLs waste crawl effort and can confuse users. Noindexing them is hygiene. It is not a growth tactic, and it should not be sold as one.
Noindex, robots.txt disallow, and canonical: which one actually works?
These three tools get mixed up constantly. They do different things.
Why a robots.txt disallow fails
A robots.txt rule controls crawling. It tells Googlebot not to fetch a URL. It does not tell Google to keep that URL out of the index. If other pages link to the cart, Google can discover the URL through those links and may still list it, without ever having read the page.
Worse, a blocked page cannot be read. If you add a noindex tag to a page and also disallow it in robots.txt, Googlebot never sees the tag. The two instructions cancel each other out. This is why a disallow on cart paths is bad practice when the goal is keeping them out of the index.
Why the meta robots noindex tag works
The noindex tag works because the page stays crawlable. Googlebot fetches it, reads the instruction in the head, and drops the page from the index. The instruction only takes effect if the crawler can reach the page. That is the whole point of keeping cart URLs open to crawling.
Why a canonical tag does not prevent indexation
A canonical tag is a hint for duplicate resolution. It says that Page A and Page B are the same, so use Page B for ranking. It assumes the pages are candidates for ranking in the first place. A self-referencing canonical, where the page points to itself, does nothing to stop indexation. It simply confirms the page as its own preferred version.
Noindex says the opposite: do not rank this page at all. So the decision is short. If you want a page kept out of the index, use noindex. If you want to tell Google that two pages are the same and one should be chosen, use a canonical.
How to properly noindex cart and checkout pages
Place this tag in the head of each cart and checkout template:
<meta name="robots" content="noindex, follow">
If you prefer server-side control, the same instruction can be sent as an HTTP header: X-Robots-Tag: noindex, follow. The header is useful when the platform makes template edits awkward, because it can be set at the server level for a whole path.
The follow part tells Google it may follow the links on the page, such as product links or customer service links. It does not contradict noindex. The page is excluded from the index, while its links can still be discovered.
Check that it worked
Inspect a cart or checkout URL in Google Search Console. The result should show the page as not indexed, with a noindex tag given as the reason. Test this on mobile as well. Some platforms output the tag differently depending on the template, or omit it entirely on certain views.
Clean up the sitemap and the links
Cart and checkout URLs have no place in an XML sitemap. A sitemap signals which URLs deserve crawl attention, and cart URLs should not compete for it. Remove every cart and checkout path from it.
Do the same with internal links where you can. Many themes link to the cart from every page, which is normal for users. The point is to avoid giving these URLs extra weight through prominent links in body content, footers of indexable lists, or similar placements.
If Search Console shows cart or checkout URLs already indexed, request their removal manually once the noindex tag is live and confirmed.
What about product schema and merchant data on cart pages?
Cart pages are not product pages. Schema.org Product markup exists for pages where a product is presented. A cart is where a product is transacted. Product markup on cart lines adds nothing useful and can confuse the platform reading the page. It also does not rank anything: Google states that structured data is not a ranking factor. It only makes a page eligible for rich results.
Merchant data is a separate system. Google Merchant Center help makes a distinction between product pages where customers cannot purchase directly, which relate to product snippets, and pages where customers can purchase, which relate to merchant listings. Merchant listings require Merchant Center setup. Schema.org markup alone is not enough. Stores manage their product inventory through feeds in Merchant Center, not through cart pages. A cart page does not feed Merchant Center.
If your platform adds schema automatically to every template, you have two options. Override it on cart and checkout pages, or test whether Google extracts anything from them. Either way, the page should still carry noindex, and noindex is the instruction that decides the outcome.
Audit checklist: making sure unintended indexation does not happen
Run through these checks when reviewing a store’s indexation policy.
- Search Console indexing report. Open the Pages report under Indexing and look for URLs containing
/cart,/checkout,/accountor/search?q=. Any of these listed as indexed is an unintended result. Fix the cause, then request removal. - Internal links. Use the Top linked pages view in Search Console to see whether cart or checkout URLs receive significant internal links. If they do, remove or reduce those links where the design allows.
- Robots.txt. Confirm there is no Allow rule accidentally overriding cart paths. Also confirm there is no Disallow on them, since a disallow stops Googlebot from reading the noindex tag.
- XML sitemap. Confirm cart and checkout paths are absent.
- Mobile rendering. Test that the noindex tag is present on mobile, since a platform may omit it there.
The same checks apply to account pages and internal search result pages, which follow the same logic: no search intent, no value in the index.
Two situations deserve a closer look. The first is a platform that generates cart URLs with parameters. Each variation is another URL to check, so the Search Console review above should include parameter patterns. The second is a theme or plugin update that silently changes the head output. A tag that was present last month can disappear after an update, which is why the check belongs in a recurring audit rather than a one-off setup.
Sources
Sources consulted on 03/12/2026: Full Circle Creative on noindexing WooCommerce cart and checkout pages; Ryze on when to noindex search, cart and account pages; Ighenatt.es on canonical tags in ecommerce; Google Merchant Center help on product data and merchant listings; Xeorank on product schema markup.


