Also called: Permanent redirect
When you rename a page, change domain or move to HTTPS, a 301 redirect forwards everyone to the new address. Google treats a 301 (or its twin, the 308) as a strong signal that the new address should be the main one, the canonical URL. A 302 or 307 says the move is temporary, so the old address keeps its place.
Without redirects, old links, bookmarks and search results land on a 404, and search engines can't tell that the new page replaces the old one. With them, links from other sites and citations in AI answers that still use the old address keep reaching you.
Redirect each old page to its closest new equivalent, not everything to the home page. Point straight at the final address to avoid redirect chains. After a site move, Google advises keeping redirects for as long as possible, generally at least a year.
Sources
- Redirects and Google Search(opens in a new tab) · Google Search Central
- Site moves and migrations(opens in a new tab) · Google Search Central