You stopped selling a product. Customers keep asking an AI assistant for it, and the assistant keeps recommending it, sending shoppers to a page that no longer sells what they want. It is a bad experience for the shopper and a lost sale for you, since the shopper wanted your newer product instead. The cause is simple: some source the assistant reads still says the old product is available, and the assistant has no way to know you stopped selling it until every source agrees.
There is no single switch for this. The fix is a cleanup across every place your product data lives: your pages, your feeds, your structured data, your sitemap, your llms.txt file, and your resellers. Fix one source while the rest stay wrong, and the recommendation keeps coming from a source you missed.
Set expectations first. No step here removes a product instantly. An answer built on live search changes after the next crawl of your corrected pages, and an answer built on training waits for a newer model. What you can do is make the removal complete and checkable, so the next crawl finds nothing left to recommend.
Why the old product keeps showing up
- The page is still live and still says in stock. The product page was never updated, or the product left the catalog but the URL still serves a page that says it is available.
- The structured data still says InStock. The visible page says the product is gone, but the code on the page still carries an InStock offer, so the assistant reads the code as a declared fact.
- A feed still lists it. Your product feed, your Google Merchant Center data, or a direct feed you send to an assistant still carries the product as available. Because a feed is fresher than your pages, it can keep the product in shopping results after your pages are fixed.
- Your sitemap and llms.txt file still point to it. A sitemap that still lists the old URL tells crawlers the page is current. An llms.txt file that still links to it tells assistants the product is part of your catalog.
- A reseller still lists it. The assistant cites the reseller's page, which still shows the product as available, even after your own page is fixed.
- Old copies sit in indexes and in training. A page that was indexed months ago, or a fact learned in training, does not disappear the day you edit your site. The assistant keeps reading the old copy until it is replaced.
Decide what happens to each old page
Sort every discontinued product into two groups before you touch anything.
If a close replacement exists, a newer model that answers the same need, send the old URL to that product page with a permanent server-side redirect. Google's redirects documentation recommends a permanent server-side redirect whenever possible, and says a permanent redirect shows the new target in search results. Send shoppers to the specific replacement page, not to the homepage, since the homepage does not answer the same need.
When no replacement exists, let the URL return a 404 or a 410. Google's status code documentation says URLs returning a 4xx status code are not indexed, and URLs already in the index that start returning a 4xx are removed from it. Every 4xx code except 429 is treated the same way, so use whichever one your platform supports cleanly. Do not serve a normal page that says "not found" while returning a success code: a success code tells crawlers the page is live.
Mark it discontinued where the page stays live
Sometimes you want to keep the old page up, for example to show the replacement and preserve links pointing to it. In that case, change the availability in the structured data to the Discontinued value from schema.org. Google's Merchant Center documentation maps the Discontinued value to an out of stock feed value, so it is the value the machines already understand. Keep the rest of the structured data accurate: the name, the business, and the URL of the page the offer belongs to. Do not leave a price in place that suggests shoppers can still buy the product. If you redirect the page instead, remove the product structured data from the old URL, since code on a page that no longer sells the product creates a fact with no page behind it.
Pull it from every feed
Remove the product from each feed that carries it: your Google Merchant Center feed, any direct product feed you send to an AI assistant, and any feed a platform sends on your behalf. A feed that still carries the discontinued product as available keeps it in shopping results even after your pages are fixed, because the feed is the fresher source. After editing the feed, check the next export and confirm the product is gone there, not only from the edit screen. When your platform sends the catalog automatically, confirm the discontinued product is left out of what it sends, since an automatic feed can put back a product you removed by hand.
Clean up the sitemap, the llms.txt file, and the links
Remove the old URL from your sitemap, and add the replacement URL if you redirected. A sitemap that still lists a discontinued product keeps telling crawlers to check a page you know is gone. Remove the product from your llms.txt file, and from llms-full.txt if you keep one. Take it off category pages and "you may also like" blocks. Then fix the internal links. Old blog posts and navigation menus keep pointing at discontinued products long after the cleanup, and every live link signals that the product still matters. Our Aizii Learn guide to writing a good llms.txt file covers that format in full.
Ask resellers and directories to remove it
Check the resellers, marketplaces, and directories that still list the product, and ask each one to remove it or mark it discontinued. Send them the link to your replacement product page so they can point shoppers to it. You cannot edit their pages yourself, but a reseller listing is often the page the assistant cites, so a fix on your site alone does not stop the recommendation. Start with the listings the assistant actually cited when you tested, since those are the ones doing the damage.
Check your work and retest
Request each old URL yourself and confirm what it returns: a permanent redirect to the replacement, or a 404 or 410. Check that the structured data on any page you kept shows Discontinued, not InStock. Then retest the same buying prompts that used to surface the product, and write down the answer and the citations each time. If the product still appears, open the cited page: it is usually a reseller listing you missed, a feed that still carries it, or a cached copy the assistant has not re-read yet.
No vendor guarantees a removal time. Google publishes no timeframe for how fast an indexed URL drops out after it starts returning a 4xx, and no vendor promises how fast a training-based answer changes, so keep the log and retest on a schedule instead of expecting one fix to take effect the same day.
A concrete example
Picture a home goods shop that retired a ceramic lamp and replaced it with a new design. A customer asks an assistant for the shop's ceramic lamp, and it names the retired one, citing the shop's old product page and a marketplace listing. The shop redirects the old product URL to the new lamp with a permanent server-side redirect, and removes the retired lamp from its product feed, its sitemap, and its llms.txt file. It asks the marketplace to update its listing to the new lamp. It checks that the old URL returns a redirect to the new lamp, and retests the same prompt, writing down each result. An answer built on live search can change once the pages are crawled again. A version built on training changes only when a newer model arrives.
The basics that help every engine
These pieces help with every AI assistant, not just one, and our Aizii Learn guides cover each one in full:
- An llms.txt file: a short, plain file at the root of your site that tells AI models what your business does and where the key pages are.
- Schema markup: structured data on your pages that states facts like price and availability in a form machines read directly, instead of forcing them to guess from your page design.
- The robots.txt guide for AI search, with every AI crawler in one reference table.
What this guide leaves out
This guide covers stopping recommendations of products you discontinued. It does not cover fixing a wrong price or a wrong detail about a product you still sell, which is a separate guide, or the monitoring work that catches the next discontinued product before a shopper is sent to a dead page. It also does not cover the transaction layer: a recommendation that links to your site is not a completed purchase, and letting an agent finish the checkout is a separate job.
Frequently Asked Questions
Can I get a discontinued product removed from AI answers right away?
No. Nothing removes a product instantly. An answer built on live search changes after the next crawl of your corrected pages, and an answer built on training waits for a newer model. What you can do is make the removal complete, so the next crawl finds nothing left to recommend.
Should I delete the old product page or redirect it?
Redirect it when a close replacement exists, with a permanent server-side redirect to the specific replacement page, not to the homepage. Delete it, meaning let it return a 404 or 410, when nothing on your site genuinely replaces what the old page offered.
What if the old product is still listed by a reseller?
Ask the reseller to remove it or mark it discontinued, and send them the link to your replacement product page. The assistant often cites the reseller's page, so a fix on your site alone does not stop the recommendation. Start with the listings the assistant actually cited.
I kept the old page live to show the replacement. What should the structured data say?
Change the availability to the Discontinued value from schema.org, and do not leave a price that suggests the product can still be bought. Google's Merchant Center documentation maps Discontinued to an out of stock feed value, so it is the value the machines already understand.
Verified Sources & Technical Documentation
- Google Merchant Center Help, Supported structured data attributes and values Specific https://support.google.com/merchants/answer/6386198
- Schema.org, ItemAvailability type Specific https://schema.org/ItemAvailability
- Google Search Central, Redirects and Google Search Specific https://developers.google.com/search/docs/crawling-indexing/301-redirects
- Google Search Central, How HTTP status codes affect Google's crawlers Specific https://developers.google.com/crawling/docs/troubleshooting/http-status-codes
- Google Search Central, Product structured data General Docs https://developers.google.com/search/docs/appearance/structured-data/product
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.