redirect-manager

Installation
SKILL.md

/dm:redirect-manager

Purpose

Manage URL redirects across the website. Create new 301/302 redirects, audit existing redirects for chains and loops, fix broken redirect paths, and deploy changes via connected CMS MCP. Covers site migrations, URL restructuring, and ongoing redirect maintenance. Redirect mismanagement is one of the most common causes of SEO traffic loss — chains dilute link equity, loops create crawl errors, and broken redirects return 404s for previously indexed URLs. This command provides systematic redirect lifecycle management from creation through auditing and repair.

Input Required

The user must provide (or will be prompted for):

  • Redirect action: The operation to perform — create (set up new redirects), audit (scan all existing redirects for issues), fix (resolve chains, loops, and broken targets found during audit), or bulk-import (import a redirect map from CSV or Google Sheet for migrations). Multiple actions can be chained (e.g., audit then fix)
  • Source URL(s): For create and bulk-import — the URL(s) that should redirect. Can be exact URLs, URL patterns with wildcards (e.g., /old-blog/* to /blog/*), or regex patterns for complex matching. For audit and fix, source URLs are discovered automatically from the CMS
  • Target URL(s): For create and bulk-import — the destination URL(s) that users and search engines should be sent to. Must be live, accessible URLs returning 200 status codes. For bulk-import, provided as source-target pairs in the import file
  • Redirect type: 301 (permanent — use for permanent URL changes, domain migrations, HTTPS upgrades, and URL restructuring) or 302 (temporary — use for A/B tests, seasonal content, maintenance pages, or geo-redirects). Default is 301 if not specified
  • CMS platform: wordpress or webflow — must have the corresponding CMS MCP server connected. For WordPress, specify the redirect management method: Redirection plugin, RankMath redirects, Yoast Premium redirects, or .htaccess direct. For Webflow, the native redirect API is used

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.
Related skills
Installs
28
GitHub Stars
100
First Seen
Feb 27, 2026