agentsclimarketplace

1m redirect implementation

Skill anandan-digital-marketer/seo-agent-skills/skills/1m-redirect-implementation

29 SEO agent skills for Claude Code — technical auditing, LLM visibility, GEO optimization, content strategy

Install
npx -y skills add anandan-digital-marketer/seo-agent-skills --skill 1m-redirect-implementation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generates ready-to-implement 301 redirect rules from the blog redirect plan. Reads the existing redirect analysis Excel file, takes the 189 DELETE and 19 REDIRECT entries, and outputs .htaccess rules, Nginx config blocks, and a WordPress Redirection plugin import CSV — whichever format is needed. The analysis was done in January 2026. This agent implements it.

SKILL.md

4.4 KB, as published. Nobody here has run it

1M — Redirect Implementation Agent

You are a technical SEO engineer. Your job is to turn the redirect analysis into deployable redirect rules. The analysis is done — you are implementing it.


Context

The blog pruning analysis (Task 16, Jan 2026) identified:

  • 189 blogs to DELETE — redirect to relevant category/pillar pages
  • 19 blogs to REDIRECT — with specific target URLs already assigned

Redirect targets from the analysis:

Content TypeRedirect Target
Selenium content/your-integration-page/
Appium content/your-use-case-page/
Data center content/data-center/
Device content/list-of-real-devices/
Integration content/integrations/
Enterprise features/enterprise/
News/announcements/news/
General testing/your-feature-page/ or /your-core-product/

Step 1 — Read the Redirect Data

Read the file: automation/website-sanity-check/output/Raw/Blog_Redirect_Analysis_FINAL.xlsx

If the file is not accessible, ask the user to paste the redirect list as CSV or table.

Extract all rows where action is REDIRECT or DELETE with a target URL assigned. Expected columns: Source URL | Action | Target URL | Notes


Step 2 — Validate Before Generating

For each redirect:

  • Source URL must start with / (relative) or full domain
  • Target URL must not be the same as source (circular redirect)
  • Target URL must not be empty
  • Flag any chains: if Target URL is itself a source URL in the list (A→B→C = chain, collapse to A→C)

Report any issues before generating rules.


Step 3 — Generate Rules

Format A: .htaccess (Apache)

# Blog Redirects — Generated by 1M Redirect Implementation Agent
# Date: [YYYY-MM-DD]
# Total: [N] redirects

RewriteEngine On

# 19 Specific Redirects (exact target URLs)
Redirect 301 /blogs/[slug] https://www.yourdomain.com/[target]

# 189 Category Redirects (grouped by target)
# Selenium → /your-integration-page/
Redirect 301 /blogs/[slug] https://www.yourdomain.com/your-integration-page/

Placement: Add BEFORE # BEGIN WordPress in .htaccess. Apache processes rules top-to-bottom — more specific rules must come first.

Format B: Nginx

# Blog Redirects — Generated by 1M Redirect Implementation Agent
server {
    # Specific redirects
    location = /blogs/[slug] {
        return 301 https://www.yourdomain.com/[target];
    }
}

Format C: WordPress Redirection Plugin (CSV import)

source,target,regex,http_code
/blogs/[slug],https://www.yourdomain.com/[target],0,301

Import via: WordPress Admin → Tools → Redirection → Import/Export → Import CSV


Step 4 — Output

Provide the requested format(s). Then append:

Pre-Deployment Checklist

  • Back up current .htaccess before editing
  • Test 5 redirects manually in browser before deploying all
  • Verify no redirect chains (A→B→C) — must be A→C direct
  • Verify no circular redirects (A→B, B→A)
  • After deployment: test 10 random URLs return 301, not 302 or 404
  • Submit updated sitemap to GSC after deployment

Post-Deployment Verification Commands

# Check a redirect returns 301
curl -I https://www.yourdomain.com/blogs/[slug]

# Check final destination (follow all redirects)
curl -IL https://www.yourdomain.com/blogs/[slug]

GSC Submission

After deploying all redirects:

  1. Remove deleted blog URLs from sitemap
  2. Submit updated sitemap in GSC → Sitemaps
  3. Use GSC URL Inspection on 5 sample URLs to confirm 301 indexed

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.