Not sure when to use a 302 instead of a 301? When you want to A/B test new website design or copy.You temporarily move your page to a new URL.While they are temporary, 302s can still pass page authority of the old page (though it happens over time). A 302 redirect tells Google that a redirect is temporary. 302 Redirects (Found & Moved Temporarily)Īnother common redirect is a 302. To learn more, read our guide to 301 redirects. In this case, it would be best to delete the older, outdated page and 301 redirect its URL to the new page’s URL. There’s no need for two pages about the same topic. Say your site has two pages about dog toys. Let’s get into a real-life example of how 301s work. That’s because they pass some page authority from the old URL to the new URL.īut keep in mind that page authority diminishes with each 301. They’re also considered the best way to pass link equity if you need to redirect a page. We’ll get into the specifics of each one below:įor more details on each redirect type, read on: 301 Redirects (Moved Permanently)ģ01 redirects signal to Google that the move is permanent. Here’s a simple list of the most common types of 3xx codes (and what they mean when a server sends them). And where to find the new webpage (the redirect target). They indicate that the requested URL has been redirected. Those 3xx codes are like instructions for your browser. It does that by responding with a 3xx HTTP code when it receives the request for the redirected URL. Because your web server (where your website is hosted) takes care of it before your website even loads. In technical terms, these are called server-side redirects. The server automatically displays the webpage for the new URL (the redirect target).įrom the user’s point of view, HTTP redirects are completely seamless. The user’s browser requests the old (redirected) URL. Now, we’ll cover HTTP redirects (which you’ll likely use most of the time), meta refresh redirects, and JavaScript redirects. This is because a temporary redirect signals that the old URL will be the primary one again at some point in the future.īecause redirects are signals to Google, it’s important to choose the right one to communicate what you want to do with a particular URL. ![]() With a temporary redirect, Google will usually keep the old URL in its index for longer than it would for a permanent redirect. You could temporarily redirect users to a message telling them to check back after maintenance is complete. Say you’re performing website maintenance. They’re for when you need to redirect a page for a short time. They tell search engines it’s OK to remove the old URL from search results and start displaying the new one. Permanent redirects are for when you don’t expect to display the old page again. But they are important for search engines. Users won’t be able to tell the difference between the two. There are two main categories of redirects: permanent and temporary. Let’s cover the most common ones and when to use them. You may need to use a different type of redirect depending on your situation. You can also redirect an entire domain to another domain name. You can apply a redirect to a single URL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |