Key takeaways
- Decide what each product page is for before touching robots rules: sold here, sold elsewhere, shown but not sold, or gone.
- Googlebot will not confirm its age. If your age check redirects to a separate page, the crawler may never see the product.
- Google’s default crawler addresses appear to be in the USA, so a regional block can hide your whole catalogue from it.
- robots.txt is not a way to keep a page out of Google. Use noindex on a crawlable page, or remove the page with a 404 or 410.
- A product missing from Google Shopping is not the same as a product missing from the index. Check them separately.
WooCommerce SEO for regulated products is mostly an indexing question before it is a markup question. When a shop sells alcohol, supplements, vaping products, over-the-counter medicines or anything else with an age limit or a licence, the rules that protect customers also decide what Googlebot can reach. Getting the right pages crawled, and the wrong ones out, is the first thing I check in technical SEO for regulated online shops.
If your store has had a sudden drop in indexed products, start with my WooCommerce technical SEO audit checklist for indexing drops. This article covers the decisions a regulated catalogue forces on you: age gates, regional restrictions, Shopping limits and products you can no longer sell.
I first published this article in 2025 and have rewritten it, removing statistics I could not trace to any source and advice to show search engines different content from visitors.
This is not legal or regulatory advice. Who you may sell to, where, and what an age check must do are questions for your own counsel or compliance lead.
WooCommerce SEO for regulated products starts with sorting the catalogue
Most indexing mistakes I see on regulated stores come from one plugin setting, robots rule or age check applied to the whole shop. So I start by putting each product into one of five groups:
| Group | What the page should do | Indexing decision |
|---|---|---|
| Sold online, to everyone you serve | A normal product page | Indexable, in the sitemap |
| Sold only in some countries or regions | Show where it ships, before checkout | Indexable; separate regional URLs if the content differs |
| Shown but not sold online | An information page, no add to cart | Indexable if it helps people; no pretend offer |
| Out of stock, coming back | The same page, marked out of stock | Keep it indexable |
| Withdrawn for good | Gone, or replaced by a true equivalent | 404 or 410, or a redirect to the equivalent |
Age gates and interstitials versus crawling
Googlebot will not confirm its age. Treat it as a visitor who never answers, and look at what your age check leaves for that visitor.
In audits I find two common set-ups:
- An overlay on the product page. The product HTML loads at its own URL and a panel covers it until the visitor answers.
- A redirect to a separate gate URL. Every product URL sends the visitor to one age-check page, and only a cookie brings them back. A crawler that never answers can end up seeing hundreds of products as the same gate page.
The second set-up quietly empties a catalogue from the index. Open the URL Inspection tool in Search Console for a few product URLs and look at the rendered page and the screenshot. If you see the gate and nothing else, so does Google.
Where the cloaking line sits
The tempting fix is to detect Googlebot and skip the gate. Be careful. Google’s spam policies describe cloaking as “presenting different content to users and search engines” with “the intent to manipulate search rankings and mislead users.” The same policies say a content-gating mechanism is not considered cloaking if “Google can see the full content of what’s behind the paywall just like any person who has access to the gated material.”
So my rule is simple: the crawler may see what a verified adult sees, never something different or more. Whether your market lets product details be shown before the age question is answered is a legal question. If the page must stay hidden, accept that it may not rank and build visibility through public pages such as category guides.
Geo and legal restrictions on where you sell
Regulated stores often block or redirect visitors from countries they cannot sell to. Then the crawler’s location matters.
Google’s page on locale-adaptive pages says “the default IP addresses of the Googlebot crawler appear to be based in the USA.” It also says Googlebot crawls from addresses outside the USA, and that “the crawler sends HTTP requests without setting Accept-Language in the request header.”
A European shop that redirects every US visitor to a “we do not ship to your country” page may show the crawler that notice instead of the catalogue. I have seen stores drop large parts of their catalogue from the index this way after a geo plugin was switched on.
What I do instead:
- Let every visitor, including the crawler, load the product page, and say clearly on the page where it can and cannot be delivered.
- Enforce the restriction at checkout, where the address is known.
- If you need different versions for different countries, use separate URLs for each and connect them. Google’s recommendation is “using separate locale URL configurations and annotating them with rel=”alternate” hreflang annotations.”
If the law requires a hard block for some regions, follow the law, and check with URL Inspection which pages Googlebot can still reach.
Noindex, robots.txt or removing the product
robots.txt controls crawling, not indexing
Google’s introduction to robots.txt says it “is not a mechanism for keeping a web page out of Google.” A blocked URL “can still appear in search results, but the search result won’t have a description.” Disallowing a restricted product folder does not hide those products.
noindex keeps a page out, but only if Google can see it
Google’s page on blocking indexing with noindex says Google “will drop that page entirely from Google Search results, regardless of whether other sites link to it.” The condition is that “the page or resource must not be blocked by a robots.txt file.” Use it for pages people may reach but should not find in search, such as test products or thin duplicates. Never combine it with a robots.txt block on the same URL.
Google also notes “it may take months for Googlebot to revisit a page,” and you can ask for a recrawl of important URLs with the URL Inspection tool.
Removing a product for good
When a product is withdrawn, recalled or no longer legal to sell, I remove the page and let it return a 404 or 410. Google’s documentation on HTTP status codes says all 4xx errors except 429 are treated the same, and that the indexing pipeline removes the URL from the index if it was indexed before. Take the URL out of the sitemap and out of internal links at the same time.
Redirect only to a true equivalent, such as the same product under a new name. A redirect from a withdrawn medicine to the home page helps nobody.
Out-of-stock and discontinued products
On regulated stores supply depends on licences, batches and approvals. The mistake I see is a plugin that hides or noindexes every product the moment stock reaches zero.
Google’s guidance on pausing an online business is written for wider closures, but its advice on products is direct: “It’s better to still allow that page, and mark it out of stock.” It also says to update structured data so it reflects “the current product availability”, and not to block a site that is only paused by “returning 403, 404, 410 HTTP status codes, or with a noindex”.
My working rules for a regulated catalogue:
- Out of stock, expected back: keep the page live and indexable, show the status clearly, and offer a back-in-stock notice if you have one.
- Paused for a regulatory reason, such as a batch on hold: keep the page, remove the add-to-cart, and say plainly that it is unavailable.
- Discontinued with a true successor: redirect to the successor.
- Discontinued with no equivalent, or no longer legal to sell: 404 or 410, out of the sitemap and the menus.
The availability in your product markup has to follow the same status. How to keep price and stock markup consistent on a regulated store is covered in my guide to WooCommerce schema conflicts on regulated stores, so I will not repeat it here.
Merchant Center restricted categories are not an indexing problem
Owners often say products are “not indexed” when they mean they do not appear in Google Shopping. Those are two different systems.
Google’s Shopping policy on restricted content says it allows such listings “on a limited basis” and that “These listings may not show to every user in every location.” It names alcohol, healthcare and medicines, and gambling, and adds that “Some content, such as unapproved pharmaceutical supplements, may not be listed anywhere.”
So a supplement page can be perfectly indexed in ordinary search results and still never appear as a Shopping listing. No robots rule or sitemap change will fix a policy restriction. When products go missing, I check two places separately:
- the Page indexing report and URL Inspection in Search Console, for the web page itself;
- the product status in Merchant Center, for the Shopping listing.
Checking a regulated WooCommerce catalogue in Search Console
Once each product group has its decision, I check that the site does what the decisions say:
- Sitemap against groups. List only indexable products. Withdrawn products, the age check page and cart URLs stay out.
- Page indexing reasons. Look for product URLs excluded by a noindex tag, blocked by robots.txt, or listed under “Page with redirect” or “Soft 404”. Each one should match a decision you made, not a plugin default.
- URL Inspection samples. Pick a few products from each group and each template. Check the rendered page for the gate, the regional notice and the stock status.
- Re-test after every change to age check plugins, geo rules, stock settings and themes.
On a regulated store the question is never just whether Google can index a product, but whether it should, and whether the page Google sees is the one your customers see.
FAQ
Will an age verification popup stop Google indexing my WooCommerce products?
An overlay on the product page usually leaves the page reachable. A redirect to a separate age-check URL can leave the crawler seeing only the gate, so check a few products with URL Inspection.
Can I let Googlebot skip the age check?
Only if the crawler sees exactly what a verified visitor sees. Showing search engines different content from people is cloaking under Google’s spam policies.
Should I noindex products I cannot sell in some countries?
Usually not. Keep the page indexable, say where you deliver, and enforce the restriction at checkout. Use separate regional URLs with hreflang if the content differs by country.
What should I do with a product that has been withdrawn from sale?
If it is gone for good with no equivalent, let the URL return a 404 or 410 and take it out of the sitemap and internal links. If a true successor exists, redirect to that instead.