Redirects Tools
Redirects are built into the static site as a Cloudflare Pages _redirects file. They’re 301 permanent redirects by default.
create_redirect
Section titled “create_redirect”Creates a redirect from one path to another.
create_redirect from_path="/about" to_path="/om-oss"create_redirect from_path="/services.html" to_path="/tjanster"Claude uses redirects automatically after:
- WordPress or URL migrations (old paths → new slugs)
- Page slug changes (the old path needs to redirect to the new one)
list_redirects
Section titled “list_redirects”Returns all configured redirects.
delete_redirect
Section titled “delete_redirect”Deletes a redirect by its from-path.
After a slug change
Section titled “After a slug change”If you rename a page’s slug, always create a redirect:
Rename the "services" page to "what-we-do" and set up a redirect from /services.Claude handles both steps automatically when you phrase it this way.
Redirect limits
Section titled “Redirect limits”Cloudflare Pages supports up to 2,100 redirects per site. For large migrations, Claude prioritises the most-trafficked URLs first.