HTTP redirects send a client from one URL to another. Use 301 or 308 for permanent moves, 302 or 307 for temporary ones, and never chain more than necessary.
RFC 9110 — HTTP Semantics, redirection 3xx