# 301 and 302 redirect

| 301 redirect                                                                                                                                                                                                                   | 302 redirect                                                                                                                                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>What is 301?</strong></p><p></p><p>A 301 redirect indicates that a page has been moved to a new location permanently.</p>                                                                                           | <p><strong>What is 302?</strong></p><p></p><p>A 302 redirect indicates that the page redirection is temporary.</p>                                                                                                                                                                                       |
| <p><strong>When to use?</strong></p><p></p><p>301 is recommended when you have to change the URL of a page as it passes most of the ranking power (SEO value) to the redirected page.</p>                                      | <p><strong>When to use?</strong></p><p></p><p>It is often used for situations like a temporary relocation of a webpage's content during maintenance.</p>                                                                                                                                                 |
| <p><strong>Authority Transfer</strong></p><p></p><p>Nearly all the link juice and existing SEO value from the original URL are transferred to the new URL</p>                                                                  | <p><strong>Limited Authority Transfer</strong></p><p></p><p>A 302 redirect doesn't pass on as much link equity as a 301. Since the redirect is supposed to be temporary, search engines will still hold the original URL in their index</p>                                                              |
| <p><strong>Search Engine Indexing</strong></p><p></p><p>Search engines will de-index the old URL and index the new URL as the official source of content.</p>                                                                  | <p><strong>Search Engine Indexing</strong></p><p></p><p>The original URL remains indexed, and search engines expect it to be back eventually. This might be a disadvantage if the move becomes permanent because the new URL won't benefit fully from the established SEO value of the original URL.</p> |
| <p><strong>User Experience</strong> </p><p></p><p>A 301 redirect ensures users who have bookmarked the old URL, or clicked on an old link, are seamlessly transferred to the new URL without encountering a 404 error page</p> | <p><strong>User Experience</strong> </p><p></p><p>While it prevents users from reaching a dead end, it can be confusing if the redirect remains in place too long, as users and search engines may not understand the temporary intent</p>                                                               |
