Skip to content
Dashboard

Domains can now be redirected with a custom status code

Software Engineer

You can now select a temporary or permanent status code for Domain Redirects.

There are some subtle differences between these status codes:

  • 307 Temporary Redirect: Not cached by client, method and body never changed.

  • 302 Found: Not cached by client, method may or may not be changed to GET.

  • 308 Permanent Redirect: Cached by client, method and body never changed.

  • 301 Moved Permanently: Cached by client, method may or may not be changed to GET.

We recommend using status code 307 or 308 to avoid the ambiguity of non-GET methods, which is necessary when your application needs to redirect a public API.

Check out the documentation as well.

Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

  • Agent stack: Build and operate agents with models, tools, and durable workflows.
  • Web applications: Choose rendering, data, authentication, and caching approaches.
  • Backends: Choose a runtime, connect services, and run background work.

Browse all stacks

Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.