Lewati ke konten
← Back to Notes

30 September 2026 · 3 min read

Moving a catalogue without losing visitors

Four old slugs, 17 new products, and why every move needs a 301 — not a 302, not a polite 404.

Contents
  1. URLs are promises
  2. What I checked afterwards

URLs are promises

When the agent catalogue was rebuilt to follow the official bancassurance pages, four old addresses no longer had a home. Deleting them would turn links from articles, WhatsApp messages, and search results into empty pages.

The fix is a permanent 301 from the old slug to the closest product by meaning. Not a 302: a temporary redirect tells search engines to keep the old URL, even though that URL is never coming back.

What I checked afterwards

Every old slug was tested with `curl -I` to confirm a 301 and the correct destination. The sitemap was rebuilt, then the new URLs were submitted through IndexNow. A 404 page still exists for addresses that were never valid.

The principle is simple: if a page was ever public, its address is a long-term contract. Moving it is fine; letting it die without a redirect is not.