ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Redirect Manager live preview
โปรเจกต์ทั้งหมด

Redirect Manager

Write and test a redirect rule before it goes into real config.

Redirect rules were tracked in spreadsheets, with no quick way to check which rule a path would hit.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ต้นแบบ|Next.js, TypeScript

มีต้นแบบสาธารณะเพื่อแสดง interaction โดยจำกัดขอบเขตและข้อมูลไว้อย่างชัดเจน

กรณีศึกษา

ก่อนใช้งาน

Redirect rules tracked in spreadsheets were error-prone, and there was no quick way to see which rule a request path would match.

หลังใช้งาน

Redirect rule editor on the App shell: status-code lists with counts, search and undoable removal, plus a path check that shows which rule a path hits.

วิธีแก้ปัญหา

Built a rule editor: add path-to-destination rules (301, 302 or 307) or generate a /s/ short path, filter by status code, search paths, remove with Undo, then check a request path with exact matching. Rules stay in this browser's localStorage.

สิ่งที่ยังไม่แก้

Exact-match only, no regex, wildcards, chain detection, import/export or analytics — and no redirects are actually served.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev