What Search Engines Say About Redirects
Google's documentation answers this directly, and the answer is mostly calm. A redirect is the tool Google asks you to use. What matters is choosing the right kind and leaving it in place. This page reports only what Google's pages say. Other search engines publish their own guidance.
The core rule: permanent or temporary
Google separates redirects into two groups, and the group decides which address shows up in results.1
- Permanent redirects show the new target in search results.
- Temporary redirects show the source page, the old one, in search results.
Google says its crawler follows both kinds. With a permanent one, its indexing system uses the redirect as a signal that the new address should be the main one. With a temporary one, it doesn't use that signal, though the target might still be indexed if other signals point that way.1
Google counts the codes 301 and 308 as permanent, and 302, 303 and 307 as temporary.1 More on them is on the codes page.
Your visitors can't tell the difference
Google notes that people generally can't tell one type of redirect from another.1 You'll click the old link, land on the new page, and see nothing odd. The difference is only in what the search engine does with it.
That's why a wrong code can sit unnoticed. The page works. Yet the old address keeps showing in search. Odd.
Which method Google prefers
Google ranks the ways of redirecting by how likely it is to understand them. A server-side redirect has the highest chance of being read correctly.1
A meta refresh, a small instruction in the page's HTML, comes next. Google reads an instant one as permanent and a delayed one as temporary. JavaScript redirects are the last resort: Google says to use them only if you can't do the other kinds, because it might never see a JavaScript redirect if rendering fails.1
Old addresses may linger
Don't be alarmed if the old address still appears for a while after a move. Google says that after a domain change it's very likely to keep showing the old addresses now and then, even once the new ones are indexed. It calls this normal and says the old names fade as people get used to the new one.1
How long to keep the redirect
Google's site move guide says to keep redirects for as long as possible, generally at least one year. That gives Google time to pass the signals to the new addresses, including links from other sites.2
Redirects are slow for visitors, though. So update your own links, and any busy links on other sites that you can influence, to the new addresses.2
What Google asks you to avoid
Google advises against chains, where one redirect leads to another before reaching the final page. Point old addresses straight at the last one.2 Chains get their own page: spotting and fixing them.
Google also warns against sending many old pages to one unrelated page, such as the home page.2
After you switch redirects on, test them. You can check one address at a time or use a script for many.2 To do that yourself, see reading a redirect's reply.
Cited material
- Redirects and Google Search, Google Search Central
- Site move with URL changes, Google Search Central