a6-plugin-redirect
Installation
SKILL.md
a6-plugin-redirect
Overview
The redirect plugin sends HTTP redirect responses (301, 302, etc.) to
clients. It can redirect to a new URI, enforce HTTPS, or use regex patterns
for complex path transformations. Unlike proxy-rewrite (which rewrites
before forwarding to upstream), this plugin returns a redirect response
directly to the client.
When to Use
- Enforce HTTPS by redirecting all HTTP requests
- Redirect old URLs to new locations (301 permanent redirect)
- Pattern-based URI rewrites using regex capture groups
- Redirect to external domains
- Append or preserve query strings during redirects