What is Redirect (301)?
A rule that sends one address to another. A 301 means "moved for good", and search engines pass the ranking along.
Use 301 redirects when you rename a page or change your domain, so old links keep working and Google moves the ranking to the new address. In Astro, the redirects option in astro.config.mjs handles renamed pages. Host-level rules handle whole-domain moves.