Redirect 301
What is a 301 redirect?
A 301 redirect is a permanent HTTP redirect that tells browsers and search engines that a page has permanently moved to a new URL. The browser automatically redirects the user to the new address.
When to use a 301 redirect?
When changing URL structures, migrating domains, merging duplicate content, or removing a page whose content has an equivalent at another URL; a page removed with no replacement should return 404 or 410. According to Google's documentation on site moves, 301 and other permanent redirects don't cause a loss in PageRank. Google recommends keeping them for at least a year and pointing each old URL straight to its final destination, without chains.
A redirect is not an option when the duplicate URL has to stay accessible — a sorted or filtered product list, for example. In that case a canonical tag does the job instead; see canonical vs. redirect for how to choose between them.
Redirect 301 vs 302
301 = permanent redirect — Google treats it as a signal that the target URL should be canonical and shows the target in search results. 302 = temporary redirect — Google usually shows the old URL in search results (Google's documentation on redirects). Use 301 for permanent changes, and 302 only for truly temporary ones (e.g., an A/B test).
Need help with redirects? Get in touch with ARDURA Lab.