{"id":10653,"date":"2024-08-02T16:45:35","date_gmt":"2024-08-02T16:45:35","guid":{"rendered":"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/"},"modified":"2024-08-02T16:45:35","modified_gmt":"2024-08-02T16:45:35","slug":"redirects-101-a-beginners-guide-to-setup-best-practices","status":"publish","type":"post","link":"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/","title":{"rendered":"Redirects 101: A Beginner\u2019s Guide to Setup &amp; Best Practices"},"content":{"rendered":"<p>Redirects send users and search engines from one URL to another automatically.<\/p>\n<p>For example, when you try to visit<\/p>\n<p><strong><em>https:\/\/backlinko.com\/hub\/youtube\/position<\/em><\/strong><\/p>\n<p>(which has a redirect) it will take you to<\/p>\n<p><strong><em>https:\/\/backlinko.com\/hub\/youtube\/positioning<\/em><\/strong><\/p>\n<p>instead.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Redirects guide users and search engines from outdated URLs to current, relevant content.<\/p>\n<p>This improves the user experience. Preserves your hard-earned backlinks. And helps search engines crawl and index your site more efficiently.<\/p>\n<p><strong>Bottom line:<\/strong> Redirects can help you manage your <a href=\"https:\/\/backlinko.com\/hub\/seo\/architecture\" target=\"_blank\" rel=\"noopener\">website structure<\/a> and <a href=\"https:\/\/backlinko.com\/improve-your-seo\" target=\"_blank\" rel=\"noopener\">improve your SEO<\/a>.<\/p>\n<p>When you use them correctly, that is.<\/p>\n<p>In this guide, you\u2019ll learn:<\/p>\n<p>What redirects are<br \/>\nHow to implement redirects the right way<br \/>\nBest practices for using redirects<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#When_to_Use_Redirects\" >When to Use Redirects<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Moving_a_Website_Site_Migration\" >Moving a Website (Site Migration)<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Changing_Domain_Names\" >Changing Domain Names<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Content_Management_System_CMS_Changes\" >Content Management System (CMS) Changes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#International_Expansion\" >International Expansion<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Deleting_Pages\" >Deleting Pages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Switching_to_HTTPS\" >Switching to HTTPS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Changing_URLs_Permalinks\" >Changing URLs (Permalinks)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#How_Redirects_Impact_SEO\" >How Redirects Impact SEO<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#1_Preserve_Link_Equity\" >1. Preserve Link Equity<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#2_Help_Search_Engines_Understand_Site_Structure\" >2. Help Search Engines Understand Site Structure<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#3_Improve_User_Experience\" >3. Improve User Experience<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Types_of_Redirects\" >Types of Redirects<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#1_Server-Side_Redirects\" >1. Server-Side Redirects<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#301_Permanent_Redirects\" >301 Permanent Redirects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#302_Temporary_Redirects\" >302 Temporary Redirects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#307_308_and_303_Redirects\" >307, 308, and 303 Redirects<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#2_Client-Side_Redirects\" >2. Client-Side Redirects<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Meta-Refresh_Redirects\" >Meta-Refresh Redirects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#JavaScript_Redirects\" >JavaScript Redirects<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#How_to_Implement_Redirects\" >How to Implement Redirects<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Setting_Up_SEO_Redirects_on_WordPress\" >Setting Up SEO Redirects on WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Setting_Up_Redirects_on_htaccess\" >Setting Up Redirects on .htaccess<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Redirect_One_Page\" >Redirect One Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Redirect_an_Entire_Directory_Within_Your_Current_Domain\" >Redirect an Entire Directory Within Your Current Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Redirect_to_Another_Domain\" >Redirect to Another Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Redirect_HTTP_to_HTTPS\" >Redirect HTTP to HTTPS<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Best_Practices_for_SEO-Friendly_Redirects\" >Best Practices for SEO-Friendly Redirects<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#1_Redirect_to_Relevant_and_Similar_Pages\" >1. Redirect to Relevant and Similar Pages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#2_Avoid_Redirect_Chains_and_Loops\" >2. Avoid Redirect Chains and Loops<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#3_Dont_Link_to_Pages_with_Redirects\" >3. Don\u2019t Link to Pages with Redirects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#4_Avoid_Soft_404s\" >4. Avoid Soft 404s<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#5_Keep_Redirects_for_at_Least_One_Year\" >5. Keep Redirects for at Least One Year<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#6_Test_and_Monitor\" >6. Test and Monitor<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Manual_Testing\" >Manual Testing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Automated_Tools\" >Automated Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Monitor_Redirects_with_a_Spreadsheet\" >Monitor Redirects with a Spreadsheet<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#7_Update_Internal_Links_and_Sitemaps\" >7. Update Internal Links and Sitemaps<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/craighordlow.com\/index.php\/2024\/08\/02\/redirects-101-a-beginners-guide-to-setup-best-practices\/#Set_Up_Effective_Redirects_and_Boost_Your_Rankings\" >Set Up Effective Redirects and Boost Your Rankings<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"When_to_Use_Redirects\"><\/span>When to Use Redirects<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Websites change and grow. And if you have a website, there\u2019ll likely come a time when you\u2019ll need to add a redirect.<\/p>\n<p>Let\u2019s look at some examples of when you might need them.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Moving_a_Website_Site_Migration\"><\/span>Moving a Website (Site Migration)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Site migrations typically require redirects, particularly in the following situations:<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Changing_Domain_Names\"><\/span>Changing Domain Names<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If you\u2019re switching from <strong><em>www.oldsite.com<\/em><\/strong> to <strong><em>www.newsite.com<\/em><\/strong>, each page from the old site should point to its exact counterpart on the new domain.<\/p>\n<p>This ensures anyone trying to access one of your old pages still lands on the relevant version on the new website. For more guidance on this topic, check out our <a title=\"88 Point Website Migration Checklist\" href=\"https:\/\/backlinko.com\/website-migration-checklist\" target=\"_blank\" rel=\"noopener\">website migration checklist<\/a>.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Content_Management_System_CMS_Changes\"><\/span>Content Management System (CMS) Changes<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Different content management systems may organize web addresses differently. For example, if you move from WooCommerce (WordPress) to <a title=\"Shopify SEO: The Complete Beginner\u2019s Guide\" href=\"https:\/\/backlinko.com\/shopify-seo\" target=\"_blank\" rel=\"noopener\">Shopify<\/a>, some of your URLs will likely change.<\/p>\n<p>Shopify uses <strong><em>\/collections<\/em><\/strong> for categories. So <strong><em>yoursite.com\/category\/mens-clothing<\/em><\/strong> would become <strong><em>yoursite.com\/collections\/mens-clothing<\/em><\/strong> on Shopify.<\/p>\n<p>Without implementing redirects, users and search engines might have a hard time finding your new pages.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"International_Expansion\"><\/span>International Expansion<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Another type of website migration that may require the use of redirects is when you move to a different (country code) top-level domain. Such as going from <strong><em>yoursite.com<\/em><\/strong> to <strong><em>yoursite.co.uk<\/em><\/strong>.<\/p>\n<p>This is common when website owners expand into other countries, and want to have a website dedicated to each individual market.<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Further reading:<\/strong> <a title=\"International SEO: Strategies to Dominate Global Search Rankings\" href=\"https:\/\/backlinko.com\/international-seo\" target=\"_blank\" rel=\"noopener\">International SEO: The Definitive Guide<\/a><\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Deleting_Pages\"><\/span>Deleting Pages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When you delete a page from your site, you can use redirects to point to a relevant or similar page.<\/p>\n<p>For example, you might have two pages covering the same topic. If you merge them into a longer, more complete guide, you need to add redirects from both original pages to the new page.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Otherwise, if users try to access the old (deleted) versions, they\u2019ll get a 404 error.<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Side note:<\/strong> You need to redirect users to a relevant or similar page. Just redirecting them to your homepage or to an irrelevant page to prevent a broken link can still provide a poor user experience.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Switching_to_HTTPS\"><\/span>Switching to HTTPS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Hypertext transfer protocol secure (HTTPS) provides a level of encryption between servers. You should therefore redirect HTTP webpages to their HTTPS counterparts for increased security.<\/p>\n<p>This is because browsers see HTTP and HTTPS URLs as unique. Even for the same page.<\/p>\n<p>For example, if you type <strong><em>http:\/\/backlinko.com<\/em><\/strong> into your browser, that URL automatically redirects you to <strong><em>https:\/\/backlinko.com<\/em><\/strong>. This makes sure you\u2019re always using the secure version of the site.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p><a title=\"Indexing HTTPS pages by default | Google Search Central Blog\" href=\"https:\/\/developers.google.com\/search\/blog\/2015\/12\/indexing-https-pages-by-default\" target=\"_blank\" rel=\"noopener\">Google also prefers<\/a> the HTTPS versions of your webpages.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Changing_URLs_Permalinks\"><\/span>Changing URLs (Permalinks)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you change your site\u2019s URL structure (or permalinks), you\u2019ll need to set up redirects from the old URLs to the new pages.<\/p>\n<p>Let\u2019s say your old URL is <strong><em>www.yourwebsite.com\/category\/page?id=123<\/em><\/strong>, and you want to change that to <strong><em>www.yourwebsite.com\/new-page<\/em><\/strong>.<\/p>\n<p>You\u2019ll need to add a redirect from the old URL to automatically send visitors to the new one.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Redirects_Impact_SEO\"><\/span>How Redirects Impact SEO<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Redirects can negatively impact your SEO if you don\u2019t implement them correctly. Poor implementation can lead to broken links, loss of page authority, and decreased rankings.<\/p>\n<p>But when you use them correctly, redirects can benefit your SEO in many ways:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Preserve_Link_Equity\"><\/span>1. Preserve Link Equity<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Link equity, sometimes called \u201clink juice,\u201d is a way of describing the value a webpage gains from <a title=\"What Are Backlinks in SEO? &amp; Why You Need Them\" href=\"https:\/\/backlinko.com\/hub\/seo\/backlinks\" target=\"_blank\" rel=\"noopener\">backlinks<\/a>. When you set up redirects correctly, most of the link equity from the old URL should transfer to the new URL.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>This helps preserve your page\u2019s rankings and overall <a title=\"How to Increase Website Authority (7 Proven Strategies)\" href=\"https:\/\/backlinko.com\/increase-domain-authority\" target=\"_blank\" rel=\"noopener\">website authority<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Help_Search_Engines_Understand_Site_Structure\"><\/span>2. Help Search Engines Understand Site Structure<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Redirects help guide search engine bots to the correct pages. They help them understand your site\u2019s structure. And make it easier for them to index and rank your most up-to-date content.<\/p>\n<p>So they don\u2019t waste time crawling outdated or non-existent pages. Making better use out of your site\u2019s <a title=\"What is Crawl Budget? And Why Does It Matter for SEO?\" href=\"https:\/\/backlinko.com\/hub\/seo\/crawl-budget\" target=\"_blank\" rel=\"noopener\">crawl budget<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Improve_User_Experience\"><\/span>3. Improve User Experience<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Redirects also help visitors find the right pages on your site. This prevents them from hitting dead ends or seeing old content when they click your links. Providing a better overall experience.<\/p>\n<p>When users have a good experience, they\u2019re more likely to stay longer (and potentially come back to your site in the future). This can help your SEO as <a title=\"Understanding page experience in Google Search results\" href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/page-experience\" target=\"_blank\" rel=\"noopener\">Google looks to reward<\/a> content that provides a good page experience. Meaning you may see higher rankings.<\/p>\n<p>However, redirects can affect your <a title=\"Page Speed and SEO: The Complete Guide\" href=\"https:\/\/backlinko.com\/hub\/seo\/pagespeed\" target=\"_blank\" rel=\"noopener\">page speed<\/a>. Which might create a noticeable lag for users (although this is not always the case). Potentially leading to a poor user experience after all.<\/p>\n<p>So it\u2019s a good idea to check your site speed after implementing redirects to make sure everything\u2019s running smoothly. You can use a free tool like <a title=\"PageSpeed Insights\" href=\"https:\/\/pagespeed.web.dev\/\" target=\"_blank\" rel=\"noopener\">PageSpeed Insights<\/a> to do this.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Types_of_Redirects\"><\/span>Types of Redirects<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are two main categories of redirects:<\/p>\n<p>Server-side<br \/>\nClient-side<\/p>\n<p>Let\u2019s take a closer look at each one so you can understand which ones to use.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Server-Side_Redirects\"><\/span>1. Server-Side Redirects<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Server-side redirects are set up on the server that hosts your website.<\/p>\n<p>There are many types of server-side redirects. The most common are:<\/p>\n<p>301 Permanent Redirects<br \/>\n302 Temporary Redirects<br \/>\n303 Temporary Redirects<br \/>\n307 Temporary Redirects<br \/>\n308 Permanent Redirects<\/p>\n<p>The two you\u2019ll most likely be using for SEO purposes are 301 and 302 redirects.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"301_Permanent_Redirects\"><\/span>301 Permanent Redirects<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Use 301 redirects for pages you have moved permanently.<\/p>\n<p>For example, Backlinko used to have a backlinks guide page at <strong><em>https:\/\/backlinko.com\/backlinks-guide<\/em><\/strong>.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>We\u2019ve since updated that page. And incorporated it into our hub on the topic.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>With that change, the URL also changed to <strong><em>https:\/\/backlinko.com\/hub\/seo\/backlinks<\/em><\/strong>.<\/p>\n<p>And because we used a 301 permanent redirect, Google understands that\u2019s the URL we want to be indexed.<\/p>\n<p>And that\u2019s exactly the page that ranks on Google.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Using 301 redirects helps ensure that the ranking power from the old URL gets transferred to the new one.<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Note:<\/strong> There is no guarantee that all of the ranking ability of the old page will transfer to the new one when you use redirects.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4><span class=\"ez-toc-section\" id=\"302_Temporary_Redirects\"><\/span>302 Temporary Redirects<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Use a 302 redirect for pages that have been temporarily moved to a new URL. Such as during sales campaigns. Or when you need to temporarily stop access to your site for maintenance.<\/p>\n<p>With a 302 redirect, users are redirected to the new page, but search engines (generally) do not update their index to the new URL. At least in the short term.<\/p>\n<p>The original URL therefore (usually) retains its ranking power.<\/p>\n<p>However, <a title=\"Redirects and Google Search | Google Search Central | Doc...\" href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/301-redirects\" target=\"_blank\" rel=\"noopener\">Google\u2019s indexing pipeline<\/a> still uses 302 redirects as a \u201cweak\u201d signal that the target URL is <a title=\"What Are Canonical URLs: An In-Depth Guide for SEOs\" href=\"https:\/\/backlinko.com\/canonical-url-guide\" target=\"_blank\" rel=\"noopener\">canonical<\/a> (i.e., the one you want Google to index). So, as with any type of redirect, use 302 redirects carefully.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"307_308_and_303_Redirects\"><\/span>307, 308, and 303 Redirects<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>These types of redirects are less common for SEO purposes.<\/p>\n<p><a title=\"HTTP Status Codes, Network and DNS Errors, and Google Search\" href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/http-network-errors\" target=\"_blank\" rel=\"noopener\">Google considers<\/a> 307 as equivalent to 302. And 308 as equivalent to 301. You might use 303 redirects to prevent resubmission of form data once a user clicks refresh or the back button.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h3><span class=\"ez-toc-section\" id=\"2_Client-Side_Redirects\"><\/span>2. Client-Side Redirects<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A client-side redirect is added to your webpage rather than your server. They\u2019re easier to set up than server-side redirects. And are handy for things like website maintenance, A\/B testing, or seasonal promotions.<\/p>\n<p>But they have some drawbacks, including:<\/p>\n<p>Slower loading times, which can frustrate users<br \/>\nLess reliability because some people turn off JavaScript in their browsers (which some client-side redirects rely on)<br \/>\nHigher security risk as hackers can more easily manipulate them<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Note:<\/strong> Because of these issues, client-side redirects are rarely the right choice. And server-side redirects, namely 301 and 302 redirects, are usually the better option.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>The two common types of client-side redirects are:<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Meta-Refresh_Redirects\"><\/span>Meta-Refresh Redirects<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>The meta refresh redirect is an HTML element that instructs the browser to refresh the page after a specified number of seconds. And then redirects to a different URL.<\/p>\n<p>They\u2019re often used for simple redirects. But they can cause a slight delay. And a poor user experience.<\/p>\n<p>You place meta refresh redirects in the &lt;head&gt; section of your page. And they look like this:<\/p>\n<p>&lt;meta http-equiv=&#8221;refresh&#8221; content=&#8221;3;<br \/>\nurl=https:\/\/www.yourwebsite.com\/new-page&#8221;&gt;<\/p>\n<p>In this example, the redirect would trigger after three seconds.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"JavaScript_Redirects\"><\/span>JavaScript Redirects<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>A JavaScript redirect adds a script within your HTML. Which means if the search engine doesn\u2019t render JavaScript, it won\u2019t find the redirect.<\/p>\n<p>If you do need to use JS redirects, place the JavaScript code within &lt;script&gt; tags, typically in the &lt;head&gt; or &lt;body&gt; sections of your HTML. It might look something like this:<\/p>\n<p>&lt;script type=&#8221;text\/javascript&#8221;&gt;<br \/>\nwindow.location.href = &#8220;https:\/\/www.yourwebsite.com\/new-page&#8221;;<br \/>\n&lt;\/script&gt;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Implement_Redirects\"><\/span>How to Implement Redirects<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Implementing effective redirects can range from simple page updates to complex site-wide changes. Each requiring a different strategy and level of effort.<\/p>\n<p>For example, if you update or consolidate a couple of pages, the process is generally straightforward. You\u2019ll only need redirects for those specific URLs. And you might be able to do this within minutes.<\/p>\n<p>But if you\u2019re making site-wide changes. Such as changing your domain or completely restructuring your website, you\u2019ll need a comprehensive redirect plan.<\/p>\n<p>Regardless of the scale of your planned redirects, stay organized by listing all your redirects in a spreadsheet. Like the one below.<\/p>\n<p>This gives you a clear, comprehensive record. Making it easier to implement the correct redirects. And make any necessary changes later down the line without causing further issues.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Once you\u2019ve put together a list of your planned redirects, it\u2019s time to implement them. We\u2019ll show you how to do this using two methods:<\/p>\n<p>Using a WordPress plugin<br \/>\nEditing your .htaccess file<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p>If you\u2019re not using WordPress or don\u2019t have access to your .htaccess file, check your platform\u2019s documentation. Or, Google \u201c[Your CMS name] + redirects\u201d for instructions.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Setting_Up_SEO_Redirects_on_WordPress\"><\/span>Setting Up SEO Redirects on WordPress<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>One of the easiest ways to manage redirects in WordPress is by using a plugin like the <a title=\"301 Redirects \u2013 Easy Redirect Manager \u2013 WordPress plugin\" href=\"https:\/\/wordpress.org\/plugins\/eps-301-redirects\/\" target=\"_blank\" rel=\"noopener\">301 Redirects Plugin<\/a>.<\/p>\n<p>This simplifies the process, especially if you\u2019re uncomfortable editing server files directly.<\/p>\n<p>Once you have installed and activated the plugin, go to \u201c<strong>Settings<\/strong>\u201d &gt; \u201c<strong>301 Redirects<\/strong>\u201d in your dashboard.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Set up your redirects here, with options to use a 301, 302, or 307 redirect. Simply choose the type of redirect you want to use, the URL you want to redirect, and the target (new) URL.<\/p>\n<p>Then click \u201c<strong>Save<\/strong>.\u201d<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>There are various other plugins that offer redirect capabilities. But if you\u2019re comfortable editing your site\u2019s files directly, you can use your .htaccess file instead.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Setting_Up_Redirects_on_htaccess\"><\/span>Setting Up Redirects on .htaccess<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The .htaccess file is a special file used by websites running on Apache servers. It gives you control of important website settings.<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Note:<\/strong> It\u2019s easy to make mistakes when editing your site\u2019s .htaccess file. Mistakes that could lead to issues with your website. Consider consulting your developer to implement redirects using .htaccess.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>You can access the .htaccess file using your hosting provider\u2019s file manager tool.<\/p>\n<p>Here\u2019s how:<\/p>\n<p>First, log into your hosting account. And find a folder labeled \u201cFile Manager\u201d or similar.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>This will take you to all the files hosted on your server.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Next, find or create the .htaccess files. This is typically located in the root directory where your website\u2019s files are stored. Often named \u201cpublic_html\u201d or \u201cwww.\u201d<\/p>\n<p>Look for a file named \u201c.htaccess\u201d (note the leading period).<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>If you can\u2019t find it, create a new file with this exact name.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Note:<\/strong> Before making any changes, back up the .htaccess file by downloading it and saving it to your computer. This way, if something goes wrong, you can easily revert to the previous version.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Open your .htaccess file in a text editor like Notepad++ or Sublime Text.<\/p>\n<p>Before adding a redirect, enable the RewriteEngine module. Which allows you to use URL rewriting rules.<\/p>\n<p>To do this, add the following code at the top of your .htaccess file:<\/p>\n<p>&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\n&lt;\/IfModule&gt;<\/p>\n<p>If RewriteEngine On is already present, you don\u2019t need to add it again. Go straight to the next steps.<\/p>\n<p>Then, add the redirect rules below \u201cRewriteEngine On\u201d and before \u201c&lt;\/IfModule&gt;.\u201d<\/p>\n<p>The specific code you add will depend on the type of redirect you need. And you may need to tweak parts of the rules below to suit your specific situation. Such as if you want them to apply to all traffic or only specific subdomains.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Redirect_One_Page\"><\/span>Redirect One Page<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>When you only need to redirect one page, add the following:<\/p>\n<p>Redirect 301 <strong><em>\/old-page https:\/\/www.yourdomain.com\/new-page<\/em><\/strong><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Redirect_an_Entire_Directory_Within_Your_Current_Domain\"><\/span>Redirect an Entire Directory Within Your Current Domain<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>To redirect an entire directory, add the code:<\/p>\n<p>RewriteRule ^old-directory\/(.*) \/new-directory\/$1 [R=301,L]<\/p>\n<p>This ensures each page in the old directory corresponds to the relevant pages in the new directory.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Redirect_to_Another_Domain\"><\/span>Redirect to Another Domain<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>When redirecting traffic from your current domain to a new domain, add the following:<\/p>\n<p>RewriteCond %{HTTP_HOST} ^olddomain.com$ [NC]<br \/>\nRewriteRule ^(.*)$ https:\/\/newdomain.com\/$1 [L,R=301]<\/p>\n<p>This redirect rule redirects each individual page on the old domain to the corresponding page on the new domain.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Redirect_HTTP_to_HTTPS\"><\/span>Redirect HTTP to HTTPS<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Add the code below for HTTP to HTTPS redirects:<\/p>\n<p>RewriteCond %{HTTPS} off<br \/>\nRewriteRule ^ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/p>\n<p>It\u2019s worth noting that many web hosts will redirect your pages from HTTP to HTTPS for you. Without the need to edit your .htaccess file.<\/p>\n<p>If editing your .htaccess file manually seems daunting, use Aleyda Solis\u2019 <a title=\"Simple Htaccess Redirects &amp; Rewrite Generator tool for SE...\" href=\"https:\/\/www.aleydasolis.com\/htaccess-redirects-generator\/\" target=\"_blank\" rel=\"noopener\">.htaccess Redirects Generator<\/a> to minimize the risk of errors and simplify the setup process.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Best_Practices_for_SEO-Friendly_Redirects\"><\/span>Best Practices for SEO-Friendly Redirects<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Redirect_to_Relevant_and_Similar_Pages\"><\/span>1. Redirect to Relevant and Similar Pages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Send users to the most relevant and similar content available, following these guidelines:<\/p>\n<p>If the content from an old page exists elsewhere, redirect directly to that page<br \/>\nFor <a title=\"Duplicate Content and SEO: The Complete Guide\" href=\"https:\/\/backlinko.com\/hub\/seo\/duplicate-content\" target=\"_blank\" rel=\"noopener\">duplicate pages<\/a>, redirect to the main, authoritative version<br \/>\nIf a page is outdated or being replaced, redirect to a new page with updated information<br \/>\nIf the content is completely irrelevant or there\u2019s no suitable replacement, delete the page and serve a 404 error message<\/p>\n<div class=\"sc-quote alert blue-box font-georgia type-normal transparent-img-bg\">\n<div class=\"media\">\n<div class=\"media-body\">\n<p><strong>Expert tip:<\/strong> If you plan to delete a page on your site that has a lot of high-quality backlinks, consider creating a new page that is relevant or similar to that page. This way, you can keep the old page\u2019s link equity. And you don\u2019t have to resort to a 404 error.<\/p>\n<div class=\"media\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"2_Avoid_Redirect_Chains_and_Loops\"><\/span>2. Avoid Redirect Chains and Loops<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Redirect chains occur when one URL redirects to another URL. Which then redirects again. Creating a chain.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Redirect loops are when one page redirects to another page. And then redirects back to the original page. Creating an endless loop.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>Both issues can confuse search engines. Leading to crawling inefficiencies and potential loss of page authority.<\/p>\n<p>While Googlebot can follow <a title=\"HTTP Status Codes, Network and DNS Errors, and Google Search\" href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/http-network-errors\" target=\"_blank\" rel=\"noopener\">up to 10 redirect hops<\/a>, it\u2019s best to link directly to the new page whenever possible. Redirects with fewer hops make the process faster for both users and search engines. And they also minimize issues such as broken links if one of the redirects fails.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Dont_Link_to_Pages_with_Redirects\"><\/span>3. Don\u2019t Link to Pages with Redirects<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Avoid linking to redirected pages. This can create unnecessary redirects. Slow down your site. And confuse both users and search engines.<\/p>\n<p>Instead, update your <a title=\"Internal Linking for SEO: The Complete Guide\" href=\"https:\/\/backlinko.com\/hub\/seo\/internal-links\" target=\"_blank\" rel=\"noopener\">internal links<\/a> to point directly to the final destination page.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Avoid_Soft_404s\"><\/span>4. Avoid Soft 404s<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Soft 404s are when you redirect to a page that is not relevant to the original page.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>An example is redirecting a product page that no longer exists back to your homepage. This is confusing for both users and search engines.<\/p>\n<p>If you can\u2019t find a relevant page to redirect to, either leave it as a 404 or create a new, relevant page that <strong>actually helps the user<\/strong> and meets their <a title=\"Search Intent and SEO: A Complete Guide\" href=\"https:\/\/backlinko.com\/hub\/seo\/search-intent\" target=\"_blank\" rel=\"noopener\">search intent<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Keep_Redirects_for_at_Least_One_Year\"><\/span>5. Keep Redirects for at Least One Year<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a title=\"Site Moves and Migrations | Google Search Central | Documentation\" href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/site-move-with-url-changes\" target=\"_blank\" rel=\"noopener\">Google\u2019s current guidelines<\/a> recommend keeping redirects for at least one year after migrating your website (but the guidance applies to all redirects). This gives users and search engines enough time to discover and adapt to the changes.<\/p>\n<p>Leaving redirects for this long gives Google enough time to crawl the site and transfer authority from the old page to the new one.<\/p>\n<p>It also allows other websites to update their links to the new page.<\/p>\n<p>But, as <a title=\"Gary Illyes\" href=\"https:\/\/x.com\/methode\/status\/1417920011071537153\" target=\"_blank\" rel=\"noopener\">Gary Illyes<\/a> of Google has said, it\u2019s best to keep them indefinitely if you can.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h3><span class=\"ez-toc-section\" id=\"6_Test_and_Monitor\"><\/span>6. Test and Monitor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Monitor your redirects regularly to verify that they\u2019re functioning properly. And are not causing any issues.<\/p>\n<p>Here are three ways you can do this:<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Manual_Testing\"><\/span>Manual Testing<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If you\u2019ve only redirected a few pages, manually enter the old URLs in your browser and verify they redirect to the new URLs.<\/p>\n<p>Alternatively, use a browser extension such as <a title=\"Redirect Path - Chrome Web Store\" href=\"https:\/\/chromewebstore.google.com\/detail\/redirect-path\/aomidfkchockcldhbkggjokdkkebmdll\" target=\"_blank\" rel=\"noopener\">Redirect Path<\/a> (for Chrome). Or the <a title=\"HTTP Status Code Checker\" href=\"https:\/\/httpstatus.io\/\" target=\"_blank\" rel=\"noopener\">HTTP Status Code Checker<\/a> tool.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Automated_Tools\"><\/span>Automated Tools<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>For more extensive redirects, use SEO tools like the <a title=\"Screaming Frog SEO Spider\" href=\"https:\/\/www.screamingfrog.co.uk\/seo-spider\/\" target=\"_blank\" rel=\"noopener\">Screaming Frog SEO Spider<\/a> or <a title=\"Site Audit: Improve the SEO of Your Website | Semrush\" href=\"https:\/\/www.semrush.com\/siteaudit\/\" target=\"_blank\" rel=\"noopener\">Semrush Site Audit<\/a>.<\/p>\n<p>These tools can crawl your site, identify redirects, and report any errors with them.<\/p>\n<p>For example, in the Semrush Site Audit tool, you can search for issues related to redirects. And receive guidance on how to fix them.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<p>To try it for yourself, <a title=\"Backlinko &amp; Semrush: 14-day PRO Trial\" href=\"https:\/\/www.semrush.com\/lp\/backlinko-offer\/en\/\" target=\"_blank\" rel=\"noopener\">use this link to get a 14-day free trial<\/a> of a Semrush Pro subscription.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Monitor_Redirects_with_a_Spreadsheet\"><\/span>Monitor Redirects with a Spreadsheet<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a title=\"The Redirectinator: SEO Redirect Mapping &amp; Monitoring Spreadsheet\" href=\"https:\/\/www.thetechseo.com\/seo-tools\/redirect-checker\/\" target=\"_blank\" rel=\"noopener\">The Redirectinator<\/a> is a free spreadsheet created by Jeff Louella of The Tech SEO. It automatically monitors your redirects. To verify that you have implemented them correctly.<\/p>\n<div class=\"backlinko-img-placeholder\"><\/div>\n<h3><span class=\"ez-toc-section\" id=\"7_Update_Internal_Links_and_Sitemaps\"><\/span>7. Update Internal Links and Sitemaps<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For search engines, redirects are suggestions. Not directives. That means search engines can choose whether or not to treat the redirected URL as canonical based on all the signals they have about that URL.<\/p>\n<p>In other words:<\/p>\n<p>Make that URL the primary one for indexing and ranking purposes.<\/p>\n<p>To increase the chances of search engines doing this for your redirected URLs:<\/p>\n<p>Update all internal links to point to the new URLs<br \/>\nUpdate your <a title=\"What is a Sitemap? &amp; Why Your Website Needs One\" href=\"https:\/\/backlinko.com\/hub\/seo\/sitemaps\" target=\"_blank\" rel=\"noopener\">sitemap<\/a> to reflect the new structure<\/p>\n<p>These steps help avoid sending mixed signals to Google. By being consistent, you\u2019re making it easier for search engines to understand and follow your redirects.<\/p>\n<p>Watch John Mueller talk about redirects as signals for canonicalization below:<\/p>\n<div class=\"sc-embed-youtube embed-responsive embed-responsive-16by9 w-75-md-up\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Set_Up_Effective_Redirects_and_Boost_Your_Rankings\"><\/span>Set Up Effective Redirects and Boost Your Rankings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Effective redirect management isn\u2019t just a nice-to-have. It\u2019s a must for:<\/p>\n<p>Preserving link equity<br \/>\nBoosting user experience<br \/>\nOptimizing your site for search engines<\/p>\n<p>For an easy way to find pages on your site that might need redirects, check out our guide to <a title=\"How to Find (and Fix) Broken Links\" href=\"https:\/\/backlinko.com\/how-to-find-and-fix-broken-links\" target=\"_blank\" rel=\"noopener\">finding (and fixing) broken links<\/a>.<\/p>\n<p>The post <a href=\"https:\/\/backlinko.com\/redirects\" target=\"_blank\" rel=\"noopener\">Redirects 101: A Beginner\u2019s Guide to Setup &amp; Best Practices<\/a> appeared first on <a href=\"https:\/\/backlinko.com\/\" target=\"_blank\" rel=\"noopener\">Backlinko<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Redirects send users and search engines from one URL to another automatically. For example, when you try to visit https:\/\/backlinko.com\/hub\/youtube\/position (which has a redirect) it will take you to https:\/\/backlinko.com\/hub\/youtube\/positioning instead. Redirects guide users and search engines from outdated URLs to current, relevant content. This improves the user experience. Preserves your hard-earned backlinks. And helps search engines crawl and index your site more efficiently. Bottom line: Redirects can help you manage your website structure and improve your SEO. When you use them correctly, that is. In [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":10654,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"cybocfi_hide_featured_image":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-10653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backlinko"],"featured_image_src":"https:\/\/craighordlow.com\/wp-content\/uploads\/2024\/08\/httpstatus-url-status-check-DDhlyW-600x400.png","featured_image_src_square":"https:\/\/craighordlow.com\/wp-content\/uploads\/2024\/08\/httpstatus-url-status-check-DDhlyW-600x600.png","author_info":{"display_name":false,"author_link":"https:\/\/craighordlow.com\/author\/"},"_links":{"self":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts\/10653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/comments?post=10653"}],"version-history":[{"count":0,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts\/10653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/media\/10654"}],"wp:attachment":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/media?parent=10653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/categories?post=10653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/tags?post=10653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}