Hello. So far, we've learned about the importance of technical SEO and how sitemaps, robots.txt files and error codes figure into your application of a technical SEO strategy. In this lesson, we will introduce you to several types of redirects, including permanent redirects, temporary redirects, and the meta refresh. We'll then consider how to appropriately and effectively use these redirects in specific situations. In this past lesson, we discussed a variety of HTTP status codes. Other types of status codes are redirects. At times, a webmaster may decide to remove a page from their website or replace that page within a newer more updated page. When this occurs, it's a good idea to send users who land on the old removed page to the new updated page. One way to easily do this is through a redirect, which will automatically transfer the visitor to the new page. Most of the time, users don't even notice a redirect occurred. However, when a page is redirected in HTTP status code is presented. This code provides search engines with instructions on how they should handle that page going forward. There are many types of redirects we are concerned with for SEO. Let's take a moment to discuss the main types of redirects SEO should be familiar with. The first type is a permanent redirect or a 301 HTTP status code. The next is a temporary redirect or a 302 HTTP status code. The newer version of the 302 is a 307 redirect, but you will still usually see 302s or 301s. In most cases, you want to use a permanent redirect, as this tells search engines that the page no longer exists in the page it is redirecting to is now it's permanent substitute. This means that search engines will eventually credit the new page, but the trust the old page had built up. This can help the newer page rank as well as the older page did in search results. Temporary redirects on the other hand, tell search engines that the redirect is only in place for a limited time and to not transfer any trust to the redirected version. In some cases, a temporary redirect is best and these cases are when the pages only temporarily redirected to a different page. This may happen if you are performing site maintenance. These issues are usually rare however, so an SEO, we generally always recommend a 301. Another type of redirect, which is rarely used but you should know about is called a meta refresh. Unlike the previous types of redirects, no HTTP status code is presented with a meta refresh. This is because the redirect is executed at the page level rather than by the server itself. These redirects are usually slower and users are more likely to notice they've been redirected. When this occurs, you will often see a message like if you are not redirected within five seconds, click here. Meta refreshes are not generally recommended because they do not provide clear signals to search engines about what happened to the previous page. Additionally, these types of redirects can create a poor user experience. A big reason to recommend 301 redirects over 302 redirects is that the permanent redirect will pass what is called linked use or authority of the first page to the second page. This means that the authority received from links pointing to the old page is transferred to the new page. Note however, that while these pass the majority of authority from one page to the next, some of the authority will be lost. It's estimated that approximately five percent of the total authority of the page is lost when redirecting. While this is very minimal, it is something you should be aware of when recommending redirects. For example, if you removed or redirected a page within your site, it's considered a best practice to update links within your site that point to the new page, rather than continuing to link to the old page that's being redirected. Note that the redirect is still necessary, so any outside links are still redirected to their correct page, but internal links should always be updated appropriately. A temporary or 302 redirect on the other hand, passes little to no authority and this keeps the old page in the index. This is one of the reasons why 302 redirects are not a good idea for SEO. Due to potential loss of authority when redirecting, you'll also want to be careful of chaining redirects. This is when you may have redirected page A to page B in the past at one point, and then decided later that page B is no longer valid and decided to redirect page B to page C. In instances like this, it is best to redirect page A to page C and page B to page C, rather than having redirects in the middle. Because some of the authority is lost with the redirect, you'll be able to retain more authority if the redirects are not chained. This can happen a lot with old sites that have gone through multiple redesigns and is something to look out for when auditing a site. When redirecting older pages to new pages, it's a good idea to redirect the old page to a page that best matches the previous content and theme of the old page. Many people tend to simply redirect all old pages to their homepage. This is not semantically relevant from a search engine perspective. Additionally, this leads to a poor user experience as the user expected to land on a page about a certain topic, but was instead sent to the homepage without any hints or what to do next. Redirecting to the homepage is only advised if there is not a better page to redirect the original content to. Ideally, the order of preference would be to redirect to a specific page and if one doesn't exist, redirects to a category level page and if that doesn't exist, then you may want to consider redirecting to the homepage. For example, let's say we had a site about gift baskets, and one of the products we had available was a get well soon teddy bear with flowers. This product is no longer offered. The ideal way to redirect to this page would be to first look at another similar product, such as a get well soon teddy bear with a balloon. If no products match to that, then the next best option would be to redirect the page to the get well soon gifts category. If, for example, the site was totally removing all get well soon gifts and no longer had a category page about that subject, then the next best choice might be the homepage. You should now have a good understanding of redirects and be able to explain what a redirect is, recommend the best types of redirects to use in this specific situation and provide recommendations on where a page should be redirected to within a site.