/eds-content-ops:redirect-migrationfrom eds-content-ops
Generate and validate redirect maps for AEM Edge Delivery Services site migrations. Analyzes old site URL structures, maps them to EDS-compliant URLs, generates the redirects spreadsheet in the format EDS expects, and validates the mapping for chains, loops, and broken destinations.
Ships in eds-content-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze a source site's URL structure, map every old URL to its new AEM Edge Delivery Services-compliant equivalent, enforce EDS URL restrictions, generate the redirects spreadsheet ready to paste into Google Sheets or Excel, and validate the complete mapping for chains, loops, broken destinations, and SEO impact. Output is a production-ready redirect table — not just recommendations.
This skill fetches external web pages for analysis. When fetching:
.htaccess, Dispatcher rules, or CDN redirect configs into EDS spreadsheet format.redirect-manager instead).aem-to-eds-migration or content-migration).redirect-manager — audits and optimizes an existing EDS redirects spreadsheet on a live site.aem-to-eds-migration — produces the migration assessment; redirect mapping is one output.content-migration — handles the content move; redirect generation runs in parallel.go-live-checklist — verifies redirects are in place as part of launch readiness.AEM Edge Delivery Services manages redirects through a spreadsheet in the content source (Google Sheets, Excel, or DA). The sheet has two columns: Source (old path) and Destination (new path or full URL). Redirects are 301 (permanent) by default and processed at the CDN edge before page rendering. The spreadsheet must be published via Sidekick (Preview + Publish) for redirects to take effect. Redirect data is served as JSON at /{site}/redirects.json. EDS evaluates rules in order — first match wins.
EDS URLs have strict restrictions: only lowercase letters, numbers, and dashes. No uppercase, underscores, special characters, or file extensions. Nearly every migration requires URL transformations — case changes (/About-Us to /about-us), underscore conversions (/product_detail to /product-detail), extension removal (/page.html to /page), path restructuring (/content/site/en/page to /page), and legacy CMS artifacts (/?p=123, /node/456).
Before starting, create a todo list to track progress. Update each item as you complete it.
Collect URLs using one or more methods:
https://{domain}/sitemap.xml (or sitemap_index.xml). Parse all <loc> entries.Build the inventory:
| # | Old URL | Content Type | Traffic | Notes |
|---|---|---|---|---|
| 1 | /About-Us | Standard | High | Uppercase |
| 2 | /products/widget_pro.html | Product | Medium | Underscore + extension |
| 3 | /blog/2024/01/my-post | Blog | Low | May need path restructure |
Report total URL count and breakdown by pattern.
.html, .htm, .php, .aspx, .jsp, .cfm._ with -././).-- becomes -./content/site/en/ or WordPress's /wp-content/./blog/2024/01/15/post may flatten to /blog/post or stay. Ask user./?p=123 or /index.php?id=456 require content mapping. Ask user./en/, /fr/ may become separate projects or remain. Ask user.| # | Old URL | New EDS URL | Transformation |
|---|---|---|---|
| 1 | /About-Us | /about-us | Lowercase |
| 2 | /products/widget_pro.html | /products/widget-pro | Underscore, extension |
| 3 | /content/mysite/en/services | /services | Strip prefix |
Run a final validation on every destination:
a-z, 0-9, -, and /.//).Flag and fix any remaining violations:
| Destination | Violation | Fix |
|---|---|---|
| /products/widget--pro | Consecutive dashes | /products/widget-pro |
| /services/ai&ml | Special character | /services/ai-ml |
| /about-us- | Trailing dash | /about-us |
Produce the table in EDS format — two columns:
| Source | Destination |
|---|---|
| /About-Us | /about-us |
| /products/widget_pro.html | /products/widget-pro |
| /content/mysite/en/services | /services |
Rules: Source contains old paths exactly as they exist. Destination contains new EDS paths. Both start with /. Order matters (first match wins) — place specific rules before general ones. For 500+ redirects, consider pattern-based rules if EDS supports globs in the current version.
Walk the redirect graph. A chain exists when a destination is itself a source. Report the full path and flatten:
| Chain | Hops | Fix |
|---|---|---|
| /page-a -> /page-b -> /page-c | 2 | Point /page-a directly to /page-c |
Detect cycles (A -> B -> A). All loops are blockers — they cause ERR_TOO_MANY_REDIRECTS.
Flag any source appearing more than once — unpredictable behavior.
Flag rules where source equals destination after normalization. Remove these.
| Destination | Status | Issue |
|---|---|---|
| /about-us | 200 | OK |
| /products/widget-pro | 404 | Content not yet migrated? |
| https://external.com/page | 301 | Potential chain |
Cross-reference with traffic data or infer from URL patterns: homepage, top-level nav, /products/, /services/, dated blog posts (likely have backlinks). Flag high-value pages missing from the map.
| Category | Count | Coverage |
|---|---|---|
| Total old URLs | X | — |
| URLs with redirects | X | X% |
| Intentionally dropped | X | X% |
| Missing (potential 404s) | X | X% |
List missing URLs and ask the user to confirm: add redirect or intentionally drop.
2-3 sentences: total redirects, transformations applied, issues found, readiness.
| Metric | Value |
|---|---|
| Old URLs analyzed | X |
| Redirects generated | X |
| Auto-transformations | X |
| Structural transforms needing confirmation | X |
| Chains flattened | X |
| Loops (blockers) | X |
| Duplicate sources | X |
| 404 destinations | X |
| Coverage | X% |
| Severity | Issue | Count | Action |
|---|---|---|---|
| Blocker | Loops | X | Resolve before go-live |
| Blocker | 404 destinations | X | Migrate content or fix destination |
| Warning | Chains | X | Flatten to single hop |
| Info | Missing high-value redirects | X | Confirm or add |
redirects sheet.Source. Column B: Destination.| Symptom | Cause | Fix |
|---|---|---|
| Redirects not working after publish | CDN cache not cleared | Wait 5 min or purge CDN; verify both Preview and Publish done |
Works on .aem.live but not production | Domain/CDN config issue | Verify production domain uses EDS CDN |
| Query-param URLs not redirecting | EDS matches paths only, not query strings | Add path-only rule; query routing needs edge logic |
| ERR_TOO_MANY_REDIRECTS | Loop in redirect table | Check Step 5 validation; remove one side of cycle |
| Some redirects work, others do not | Case-sensitive matching | Source must exactly match old URL including case |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (focus-gts/eds-content-ops-skills) — no native marketplace selected
npx claudepluginhub p/focus-gts-eds-content-ops42 skills in this plugin
/accessibility-fixScan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations./aem-to-eds-migrationAssess and plan a migration from traditional AEM Sites to AEM Edge Delivery Services. Analyzes the source AEM site to inventory components, templates, content types, and integrations, then maps them to EDS equivalents and produces a migration feasibility report with effort estimates, risk areas, and a phased plan./