Skip to content

Add podcast slug redirect system with improved type safety#123

Open
denbec wants to merge 1 commit intomainfrom
denbec/podcast-slug-redirect
Open

Add podcast slug redirect system with improved type safety#123
denbec wants to merge 1 commit intomainfrom
denbec/podcast-slug-redirect

Conversation

@denbec
Copy link
Collaborator

@denbec denbec commented Feb 5, 2026

Summary

  • Implements automatic slug history tracking for published podcasts to preserve old URLs when slugs change
  • Generates 301 redirects at build time from old slugs to new ones
  • Adds proper TypeScript types, self-redirect filtering, and route conflict detection

Test Plan

  • Verify redirect rules are generated during build for existing slug histories
  • Test that updating a podcast slug creates/updates history entries
  • Ensure redirect conflicts are logged and skipped appropriately

🤖 Generated with Claude Code

Implement automatic slug history tracking for published podcasts to preserve
old URLs when slugs change. Includes self-redirect filtering, proper TypeScript
types, route conflict detection, and graceful error handling to prevent history
save failures from disrupting podcast updates.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
programmierbar-website Ready Ready Preview, Comment Feb 5, 2026 8:49am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant