Expired event and discontinued product pages handled for SEO
Decides what to do with pages whose subject has ended, such as past events, closed offers, sold-out stock and discontinued products, so that links and rankings are kept and visitors are not sent to dead ends. Use it after a sale season, an event series or a catalogue clean-up.
The output this prompt produced, unedited.
The prompt
Constraints first
Never redirect a batch of ended pages to the home page; search engines treat that as a soft 404 and visitors lose context.
A product that is only out of stock for now stays live with its availability marked, not redirected.
A page with backlinks or steady search traffic is never simply deleted.
Use only the pages and figures pasted.
Inputs
Ended pages: [paste rows: URL, type such as event, offer, product, reason it ended, organic visits last 12 months, referring domains]
Replacements available: [e.g. next year's event page, newer product model, current offers page]
Recurring events or offers: [e.g. an annual Diwali sale, a monthly workshop]
Platform limits: [e.g. the CMS can set 301 and 410 responses, or only 301]
Decide for each page
Recurring event or offer: keep one URL, update it with a past-event notice and the next date.
Discontinued product with a close successor: 301 to the successor.
Discontinued product with links or traffic but no successor: keep the page, mark it discontinued, and list alternatives.
Thin ended page with no links or traffic: return 410, or 404, and remove it from sitemaps and internal links.
Output format
| URL | Type | Visits | Referring domains | Action | Target or note |
Notice text for kept pages, two versions: past event and discontinued product, each under 40 words.
Redirect list: | Old URL | New URL |
A short rule set for future pages so each ended page is handled the day it ends.
expired pages seodiscontinued products seoout of stock pagespast event pages301 or 410soft 404 fix
How to run this
Copy the prompt and paste it into Gemini, then set the aspect ratio to 3:4. No reference photo is needed for this one.
The prompt is written in Markdown with each part under its own heading, which is what the copy action hands over. Change one section at a time, keeping the rest intact, so you can tell which change did the work.