Skip to content

Redirects Tools

Redirects are built into the static site as a Cloudflare Pages _redirects file. They’re 301 permanent redirects by default.

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)

Returns all configured redirects.

Deletes a redirect by its from-path.

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.

Cloudflare Pages supports up to 2,100 redirects per site. For large migrations, Claude prioritises the most-trafficked URLs first.