{"id":38808,"date":"2023-01-24T07:15:00","date_gmt":"2023-01-24T15:15:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=38808"},"modified":"2025-05-21T18:58:46","modified_gmt":"2025-05-22T01:58:46","slug":"301-redirects-wordpress","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/","title":{"rendered":"How to Create 301 Redirects in WordPress (4 Methods)"},"content":{"rendered":"\n<p>Sometimes, you\u2019ll have to move or delete certain pages on your website. It\u2019s the circle of [website] life.<\/p>\n\n\n\n<p>But if you do move or delete a page, users could potentially be presented with a 404 error that prevents them from accessing your content, often leading to an exit. If you don\u2019t properly set up redirects, you may increase your bounce\/exit rates, which harms user experience (and potentially organic rankings).<\/p>\n\n\n\n<p>Fortunately, it is easy to create 301 redirects in WordPress \u2014 by adding a 301 redirect for moved or removed pages, users (and search engines) will be whisked off to the new, updated URL. Whether you use a redirection plugin or edit your site files, building 301 redirects can effectively fix any broken links on your site.<\/p>\n\n\n\n<p>In this post, we\u2019ll explain what 301 redirects are and when you might want to use them. Then, we\u2019ll show you four ways to create a 301 redirect in WordPress. Let\u2019s get started!<\/p>\n\n\n\n<h2 id=\"h-an-introduction-to-redirects\" class=\"wp-block-heading\"><b>An Introduction to Redirects<\/b><\/h2>\n\n\n\n<p>To get started, you\u2019ll need to know what redirects are. Put simply, any redirect will send users and search engines to another web address. This automatically redirects the requested URL to a different location.<\/p>\n\n\n\n<p>As a website owner, you can use a temporary or permanent redirect to prevent your visitors from seeing error pages. These &#8220;Not Found&#8221; errors, otherwise known as <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-404-error\/\" target=\"_blank\" rel=\"noopener\">404 errors<\/a>, inturrupt the browsing experience and can lead to visitors exiting your website.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>What are 404 Errors?<\/h3>\n    <p>A 404 error is an HTTP status code that indicates that the page a user is trying to access does not exist. 404 errors can occur for a wide variety of reasons, but they almost always lead to a poor User Experience (UX).<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/404-error\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>There are many <a href=\"https:\/\/www.dreamhost.com\/blog\/guide-to-redirects\/\" target=\"_blank\" rel=\"noopener\">other different redirect types as well<\/a>. Each one sends a unique HTTP status code from a web server to a browser. These codes indicate how the content is being moved.<\/p>\n\n\n\n<p>Here are the most common URL redirect types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>301<\/b>: Permanent redirect from one URL to another.<\/li>\n\n\n\n<li><b>302<\/b>: Temporarily redirect to a new URL.<\/li>\n\n\n\n<li><b>303<\/b>: Non-cacheable redirect to temporarily replace content.<\/li>\n\n\n\n<li><b>307<\/b>: Informs search engines that the redirect may periodically update.<\/li>\n\n\n\n<li><b>308<\/b>: Permanent redirect that disallows changes from POST to GET request methods.<\/li>\n\n\n\n<li><b>Meta refresh<\/b>: Client-side redirect that often appears as a refresh countdown timer.<\/li>\n<\/ul>\n\n\n\n<p>By far, the most used redirect type is a 301 redirect. This will inform both search engines and online users that the original resource is no longer available. Instead, it will permanently redirect to a new page.<\/p>\n\n\n\n<p>Whenever someone clicks on the original link, they\u2019ll automatically be taken to a different URL. The redirect will seamlessly direct users to the correct pages on your website and prevent them from seeing 404 errors.<\/p>\n\n\n\n<h2 id=\"h-reasons-you-might-use-a-301-redirect\" class=\"wp-block-heading\"><b>Reasons You Might Use a 301 Redirect<\/b><\/h2>\n\n\n\n<p>Since there are different redirect types, it can be difficult to know which is right for your website. Fortunately, 301 redirects are useful when performing a few essential management tasks.<\/p>\n\n\n\n<p>One of the most common reasons to use a 301 redirect is when you\u2019re deleting old content. If a post is no longer relevant but still receives traffic, you\u2019ll want to take these users to an updated resource.<\/p>\n\n\n\n<p>In this case, 301 redirects tell search engines that you\u2019re permanently moving the URL. Since it will preserve your traffic and backlinks, this redirect can <a href=\"https:\/\/moz.com\/learn\/seo\/redirection\" target=\"_blank\" rel=\"noopener\">improve your Search Engine Optimization (SEO)<\/a>. However, keep in mind that it can take time for search bots to discover the new page and associate it with the same ranking.<\/p>\n\n\n\n<p>Additionally, you may implement 301 redirects if you\u2019re <a href=\"https:\/\/www.dreamhost.com\/blog\/domain-change-seo\/\" target=\"_blank\" rel=\"noopener\">moving to a new domain<\/a>. If you don\u2019t redirect your URLs, you may quickly lose your current audience. However, 301 redirects will seamlessly take visitors to your new location.<\/p>\n\n\n\n<p>Similarly, a 301 redirect can be useful when moving from an HTTP to an <a href=\"https:\/\/www.dreamhost.com\/blog\/ultimate-guide-ssl-tls\/\" target=\"_blank\" rel=\"noopener\">HTTPS connection<\/a>. To make sure users visit the secure version of your website, it\u2019s best to permanently redirect your content.<\/p>\n\n\n\n<p>You might also want to <a href=\"https:\/\/www.dreamhost.com\/blog\/keep-your-blog-fresh-how-to-repurpose-old-posts\/\" target=\"_blank\" rel=\"noopener\">consolidate separate posts<\/a>. After compiling the information onto one page, you can redirect all the old links to the new location.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-how-to-create-301-redirects-in-wordpress-4-methods\" class=\"wp-block-heading\"><b>How to Create 301 Redirects in WordPress (4 Methods)<\/b><\/h2>\n\n\n\n<p>Now that you know about 301 redirects, you may want to apply them to your website. Let\u2019s discuss some best practices when creating 301 redirects in WordPress!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-1-install-a-redirection-plugin\"><b>Method 1: Install a Redirection Plugin<\/b><\/h3>\n\n\n\n<p>One of the best ways to extend the native functionality of WordPress is to <a href=\"https:\/\/www.dreamhost.com\/blog\/tutorial-wp-plugin-install-setup\/\" target=\"_blank\" rel=\"noopener\">install a plugin<\/a>. Fortunately, there are many useful plugins available for creating and managing your website\u2019s redirects.<\/p>\n\n\n\n<p>For example, <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">Redirection<\/a> is a free tool that adds a redirect manager to your site. You can use this plugin to set up 301 redirects, track broken links, <a href=\"https:\/\/www.dreamhost.com\/blog\/guide-to-wp-permalinks\/\" target=\"_blank\" rel=\"noopener\">migrate permalinks<\/a>, and much more:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1858\" height=\"592\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-redirection-plugin.jpg\" alt=\"Redirection WordPress plugin\" class=\"wp-image-38828 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin.jpg.webp 1858w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-redirection-plugin-300x96.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-redirection-plugin-1024x326.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-redirection-plugin-768x245.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-redirection-plugin-1536x489.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-600x191.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-1200x382.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-730x233.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-1460x465.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-784x250.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-1568x500.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-877x279.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-redirection-plugin-1754x559.jpg.webp 1754w\" data-sizes=\"(max-width: 1858px) 100vw, 1858px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1858px; --smush-placeholder-aspect-ratio: 1858\/592;\" \/><\/figure><\/div>\n\n\n<p>To get started, install and activate Redirection in WordPress. Then, navigate to <i>Tools &gt; Redirection<\/i>. On this welcome page, click on <i>Start Setup<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1422\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-welcome-screen.jpg\" alt=\"Redirection plugin setup\" class=\"wp-image-38825 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-welcome-screen-300x213.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1024x728.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-welcome-screen-768x546.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1536x1093.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-600x427.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1200x854.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-730x519.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1460x1039.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-784x558.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1568x1115.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-877x624.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-welcome-screen-1754x1248.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1422;\" \/><\/figure><\/div>\n\n\n<p>For the next step, you\u2019ll need to decide whether you want Redirection to monitor permalinks, redirects, and 404 errors on your site. If so, enable these options and select <i>Continue<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1906\" height=\"1462\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-basic-setup.jpg\" alt=\"Redirection plugin monitoring\" class=\"wp-image-38824 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup.jpg.webp 1906w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-basic-setup-300x230.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-basic-setup-1024x785.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-basic-setup-768x589.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-wordpress-plugin-basic-setup-1536x1178.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-600x460.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-1200x920.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-730x560.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-1460x1120.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-784x601.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-1568x1203.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-877x673.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-wordpress-plugin-basic-setup-1754x1345.jpg.webp 1754w\" data-sizes=\"(max-width: 1906px) 100vw, 1906px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1906px; --smush-placeholder-aspect-ratio: 1906\/1462;\" \/><\/figure><\/div>\n\n\n<p>After this, the plugin will test your <a href=\"https:\/\/www.dreamhost.com\/blog\/tutorial-wp-rest-api\/\" target=\"_blank\" rel=\"noopener\">REST API<\/a> to see if it can communicate with WordPress properly. Once you receive a \u2018Good\u2019 rating, you can click on <i>Finish Setup<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1243\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-finish-setup-screen-rest-api.jpg\" alt=\"Redirection test REST API\" class=\"wp-image-38823 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-finish-setup-screen-rest-api-300x187.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-finish-setup-screen-rest-api-1024x637.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-finish-setup-screen-rest-api-768x478.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/redirection-finish-setup-screen-rest-api-1536x955.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-600x373.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-1200x746.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-730x454.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-1460x908.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-784x487.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-1568x975.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-877x545.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/redirection-finish-setup-screen-rest-api-1754x1091.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1243;\" \/><\/figure><\/div>\n\n\n<p>Now you\u2019ll be able to create a 301 redirect! To do this, find <i>Tools &gt; Redirection &gt; Add New<\/i>. Then, add your source URL and target URL:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"486\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirectoin.jpg\" alt=\"Add new redirection\" class=\"wp-image-38814 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirectoin-300x73.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirectoin-1024x249.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirectoin-768x187.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirectoin-1536x373.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-600x146.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-1200x292.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-730x177.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-1460x355.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-784x191.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-1568x381.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-877x213.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirectoin-1754x426.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/486;\" \/><\/figure><\/div>\n\n\n<p>Lastly, click on the gear icon to open additional settings. Be sure to select a <i>301 &#8211; Moved Permanently<\/i> HTTP code:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"696\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirect-select-status-code.jpg\" alt=\"Create 301 permanent redirect\" class=\"wp-image-38813 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirect-select-status-code-300x104.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirect-select-status-code-1024x357.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirect-select-status-code-768x267.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-new-redirect-select-status-code-1536x535.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-600x209.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-1200x418.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-730x254.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-1460x508.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-784x273.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-1568x546.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-877x305.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-new-redirect-select-status-code-1754x611.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/696;\" \/><\/figure><\/div>\n\n\n<p>When you\u2019re finished, hit <i>Add Redirect<\/i>. Now, whenever users visit the old URL, their browser will automatically reroute to the new resource!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-2-use-your-seo-plugin\"><b>Method 2: Use Your SEO Plugin<\/b><\/h3>\n\n\n\n<p>Although you can install new redirection plugins like Redirection or <a href=\"https:\/\/wordpress.org\/plugins\/simple-301-redirects\/\" target=\"_blank\" rel=\"noopener\">Simple 301 Redirects<\/a>, you may already have all the tools you need to create redirects on your website. Often, <a href=\"https:\/\/www.dreamhost.com\/blog\/seo-tools-to-optimize-website-success\/\" target=\"_blank\" rel=\"noopener\">SEO plugins<\/a> provide redirection managers along with Search Engine Optimization features.<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/seo-by-rank-math\/\" target=\"_blank\" rel=\"noopener\">Rank Math<\/a> is a free SEO plugin with built-in redirection tools. With this tool, you\u2019ll be able to enable, disable, and delete any of your site\u2019s redirects. Plus, it even imports information from the Redirection plugin:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1872\" height=\"596\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-seo-plugin.jpg\" alt=\"Rank Math SEO plugin\" class=\"wp-image-38829 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin.jpg.webp 1872w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-seo-plugin-300x96.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-seo-plugin-1024x326.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-seo-plugin-768x245.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-seo-plugin-1536x489.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-600x191.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-1200x382.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-730x232.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-1460x465.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-784x250.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-1568x499.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-877x279.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-seo-plugin-1754x558.jpg.webp 1754w\" data-sizes=\"(max-width: 1872px) 100vw, 1872px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1872px; --smush-placeholder-aspect-ratio: 1872\/596;\" \/><\/figure><\/div>\n\n\n<p>After you install and activate Rank Math, open the dashboard. Then, find the <i>Redirections<\/i> tool and enable it:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1154\" height=\"814\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/rankmath-redirection-plugin.jpg\" alt=\"Enable Rank Math redirections\" class=\"wp-image-38822 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/rankmath-redirection-plugin.jpg.webp 1154w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/rankmath-redirection-plugin-300x212.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/rankmath-redirection-plugin-1024x722.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/rankmath-redirection-plugin-768x542.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/rankmath-redirection-plugin-600x423.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/rankmath-redirection-plugin-730x515.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/rankmath-redirection-plugin-784x553.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/rankmath-redirection-plugin-877x619.jpg.webp 877w\" data-sizes=\"(max-width: 1154px) 100vw, 1154px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1154px; --smush-placeholder-aspect-ratio: 1154\/814;\" \/><\/figure><\/div>\n\n\n<p>Now you\u2019ll have a new <i>Redirections<\/i> tab. On this page, click on <i>Add New<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"641\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-screen-in-wordpress.jpg\" alt=\"Rank Math redirections\" class=\"wp-image-38816 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-screen-in-wordpress-300x96.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-screen-in-wordpress-1024x328.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-screen-in-wordpress-768x246.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-screen-in-wordpress-1536x493.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-600x192.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-1200x385.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-730x234.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-1460x468.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-784x251.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-1568x503.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-877x281.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-screen-in-wordpress-1754x562.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/641;\" \/><\/figure><\/div>\n\n\n<p>First, you can add your original source URL, which will be the content you\u2019re redirecting from. By hitting <i>Add another<\/i>, you can paste URLs in bulk. This can be an efficient way to consolidate multiple pieces of content into one source:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1994\" height=\"1396\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections.jpg\" alt=\"Bulk 301 redirects\" class=\"wp-image-38817 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections.jpg.webp 1994w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-300x210.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-1024x717.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-768x538.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-redirections-1536x1075.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-600x420.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-1200x840.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-730x511.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-1460x1022.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-784x549.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-1568x1098.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-877x614.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-redirections-1754x1228.jpg.webp 1754w\" data-sizes=\"(max-width: 1994px) 100vw, 1994px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1994px; --smush-placeholder-aspect-ratio: 1994\/1396;\" \/><\/figure><\/div>\n\n\n<p>Next to each URL, choose <i>Exact Match<\/i> if you want to redirect this exact link. However, you can also enter a more general term. By selecting <i>Contains<\/i> instead, every page with that keyword will be redirected:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1956\" height=\"492\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-recirection.jpg\" alt=\"Source URL keyword\" class=\"wp-image-38815 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection.jpg.webp 1956w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-recirection-300x75.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-recirection-1024x258.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-recirection-768x193.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/add-recirection-1536x386.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-600x151.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-1200x302.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-730x184.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-1460x367.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-784x197.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-1568x394.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-877x221.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/add-recirection-1754x441.jpg.webp 1754w\" data-sizes=\"(max-width: 1956px) 100vw, 1956px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1956px; --smush-placeholder-aspect-ratio: 1956\/492;\" \/><\/figure><\/div>\n\n\n<p>Under <i>Destination URL<\/i>, insert the link you want users to visit. Be sure to also select <i>301 Permanent Move<\/i> as the redirection type before hitting <i>Add Redirection<\/i>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-3-edit-your-htaccess-file\"><b>Method 3: Edit Your .htaccess File<\/b><\/h3>\n\n\n\n<p>If you want to avoid installing another plugin, you can also create 301 redirects manually. Since this involves editing your site files, be sure to <a href=\"https:\/\/www.dreamhost.com\/blog\/10-important-reasons-to-perform-website-backup\/\" target=\"_blank\" rel=\"noopener\">back up your website<\/a> first. This will save a copy of your current website to revert back to if anything goes wrong.<\/p>\n\n\n\n<p>Next, you\u2019ll need to connect to a <a href=\"https:\/\/www.dreamhost.com\/blog\/cyberduck-vs-filezilla\/\" target=\"_blank\" rel=\"noopener\">File Transfer Protocol (FTP) client<\/a> or your host\u2019s file manager. For DreamHost users, sign into your <a href=\"https:\/\/panel.dreamhost.com\/\" target=\"_blank\" rel=\"noopener\">account panel<\/a>. Then, navigate to <i>Websites &gt; Manage Websites &gt; Manage Files SFTP &gt; Manage<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"677\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/dreamhost-panel-manage-sftp.jpg\" alt=\"Open DreamHost SFTP file manager\" class=\"wp-image-38819 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/dreamhost-panel-manage-sftp-300x102.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/dreamhost-panel-manage-sftp-1024x347.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/dreamhost-panel-manage-sftp-768x260.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/dreamhost-panel-manage-sftp-1536x520.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-600x203.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-1200x406.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-730x247.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-1460x494.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-784x266.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-1568x531.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-877x297.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/dreamhost-panel-manage-sftp-1754x594.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/677;\" \/><\/figure><\/div>\n\n\n<p>This will open DreamHost\u2019s file manager. Here, you\u2019ll need to find the <a href=\"https:\/\/www.dreamhost.com\/blog\/guide-to-wp-and-htaccess\/\" target=\"_blank\" rel=\"noopener\">.<i>htaccess<\/i> file<\/a> within the root directory:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1130\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/edit-htaccess-via-ftp.jpg\" alt=\"Edit .htaccess file\" class=\"wp-image-38820 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/edit-htaccess-via-ftp-300x170.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/edit-htaccess-via-ftp-1024x579.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/edit-htaccess-via-ftp-768x434.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/edit-htaccess-via-ftp-1536x868.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-600x339.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-1200x678.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-730x413.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-1460x825.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-784x443.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-1568x886.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-877x496.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/edit-htaccess-via-ftp-1754x992.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1130;\" \/><\/figure><\/div>\n\n\n<p>If you don\u2019t want to back up your entire website, you can simply download this original file. If you experience any problems, you can re-upload it to the server:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1100\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/download-htaccess-file-via-ftp.jpg\" alt=\"Download .htaccess file\" class=\"wp-image-38818 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/download-htaccess-file-via-ftp-300x165.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/download-htaccess-file-via-ftp-1024x563.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/download-htaccess-file-via-ftp-768x423.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/download-htaccess-file-via-ftp-1536x845.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-600x330.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-1200x660.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-730x402.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-1460x803.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-784x431.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-1568x863.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-877x483.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/download-htaccess-file-via-ftp-1754x965.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1100;\" \/><\/figure><\/div>\n\n\n<p>Once you locate the .<i>htaccess<\/i> file, right-click on it and select <i>Edit<\/i>. If you\u2019re using the DreamHost file manager, a text editor will automatically open:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1548\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-htaccess-file.jpg\" alt=\".htaccess file editor\" class=\"wp-image-38827 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-htaccess-file-300x232.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-htaccess-file-1024x793.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-htaccess-file-768x595.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/wordpress-htaccess-file-1536x1189.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-600x465.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-1200x929.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-730x565.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-1460x1131.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-784x607.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-1568x1214.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-877x679.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/wordpress-htaccess-file-1754x1358.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1548;\" \/><\/figure><\/div>\n\n\n<p>Right below the \u2018# END WordPress\u2019 line, add this new coding to <a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/301-redirects\" target=\"_blank\" rel=\"noopener\">create a 301 redirect<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine On\nRedirect 301 \/new-content\/ https:\/\/mywebsite.com\/new-content\/<\/pre>\n\n\n\n<p>Be sure to update both of these URLs so that they\u2019re unique to your website. Keep in mind that if you already have Rewrite Engine on in your .<i>htaccess<\/i> file\u2019s coding, you don\u2019t need to repeat it. You can simply copy and paste the redirect code.<\/p>\n\n\n\n<p>As we mentioned earlier, you may want to redirect your entire website to a new domain. In this case, you can use the following coding instead:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine on\nRewriteCond %{HTTP_HOST} ^olddomain.com [NC,OR]\nRewriteCond %{HTTP_HOST} ^www.olddomain.com [NC]\nRewriteRule ^(.*)$ https:\/\/newdomain.com\/$1 [L,R=301,NC]<\/pre>\n\n\n\n<p>If you\u2019re migrating your website from an HTTP to HTTPS connection, you can also do this in your .<i>htaccess<\/i> file. Simply paste this code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/pre>\n\n\n\n<p>After this, save the file and close it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-4-create-a-server-side-redirect\"><b>Method 4: Create a Server-Side Redirect<\/b><\/h3>\n\n\n\n<p>As another alternative, you can also create 301 redirects in PHP. This will be a server-side redirect that uses header() functions.<\/p>\n\n\n\n<p>PHP redirects are server-facing, so they can often be faster and more secure. However, this is a fairly technical process that can easily go wrong. Make sure you\u2019re <a href=\"https:\/\/www.dreamhost.com\/blog\/learn-php\/\" target=\"_blank\" rel=\"noopener\">knowledgeable in PHP coding<\/a> before getting started.<\/p>\n\n\n\n<p>To properly redirect in PHP, you\u2019ll need to write a header() function. In the location response-header field, define the URL where you want to send search engines and users:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">header('HTTP\/1.1 301 Moved Permanently');\nheader('Location: https:\/\/www.example.com\/newurl');\nexit();<\/pre>\n\n\n\n<p>Be sure to include a die() or exit() function at the end of the header. Without it, search engines like Google may process the original page and ignore your new redirect.<\/p>\n\n\n\n<h2 id=\"h-how-to-troubleshoot-301-redirects\" class=\"wp-block-heading\"><b>How to Troubleshoot 301 Redirects<\/b><\/h2>\n\n\n\n<p>After you create a 301 redirect, it may not perform correctly. Sometimes, it\u2019ll turn into a redirect chain or loop. This happens when there are multiple redirects between the original URL and the target URL.<\/p>\n\n\n\n<p>If your website has a redirect chain, visitors can see a \u2018<a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-redirect-loop-wordpress-error\/\" target=\"_blank\" rel=\"noopener\">Too many redirects<\/a>\u2019 error. Essentially, the browser won\u2019t be able to fulfill the redirect and display the correct page.<\/p>\n\n\n\n<p>As the site owner, you may not notice redirect chains. To check for any errors, you can enter URLs into a redirect checker like <a href=\"https:\/\/httpstatus.io\/\" target=\"_blank\" rel=\"noopener\">HTTP Status<\/a>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"1248\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/httpsstatus-check-status-codes.jpg\" alt=\"HTTP Status redirect checker4\" class=\"wp-image-38821 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/httpsstatus-check-status-codes-300x187.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/httpsstatus-check-status-codes-1024x639.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/httpsstatus-check-status-codes-768x479.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/httpsstatus-check-status-codes-1536x959.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-600x375.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-1200x749.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-730x456.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-1460x911.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-784x489.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-1568x979.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-877x548.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/httpsstatus-check-status-codes-1754x1095.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/1248;\" \/><\/figure><\/div>\n\n\n<p>You\u2019ll be able to paste up to 100 URLs into the text box. Then, hit <i>Check status<\/i>. At the bottom of the page, you\u2019ll see the HTTP status code and the number of redirects:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1999\" height=\"653\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/request-url-status-code.jpg\" alt=\"Redirect checker results\" class=\"wp-image-38826 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code.jpg.webp 1999w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/request-url-status-code-300x98.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/request-url-status-code-1024x335.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/request-url-status-code-768x251.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/request-url-status-code-1536x502.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-600x196.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-1200x392.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-730x238.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-1460x477.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-784x256.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-1568x512.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-877x286.jpg.webp 877w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/01\/request-url-status-code-1754x573.jpg.webp 1754w\" data-sizes=\"(max-width: 1999px) 100vw, 1999px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1999px; --smush-placeholder-aspect-ratio: 1999\/653;\" \/><\/figure><\/div>\n\n\n<p>If the page loads correctly, you\u2019ll see a \u2018200\u2019 HTTP status code. You should also make sure there is only one redirect for every URL. Otherwise, you\u2019ll likely have a redirect chain.<\/p>\n\n\n\n<h2 id=\"h-common-redirect-mistakes\" class=\"wp-block-heading\"><b>Common Redirect Mistakes<\/b><\/h2>\n\n\n\n<p>A common mistake when building website redirects is confusing 301 and 302 redirect types. Although both will redirect to a new page, they communicate with search engines in different ways. Since this can negatively impact your SEO, it\u2019s important to know the difference.<\/p>\n\n\n\n<p>As we mentioned earlier, 301 redirects are permanent. This will inform search crawlers to stop indexing the original content because it was permanently moved. In this case, the new content will receive the link equity of the old page.<\/p>\n\n\n\n<p>On the other hand, 302 redirects indicate that the redirect is temporary. If you\u2019re testing out a <a href=\"https:\/\/www.dreamhost.com\/blog\/website-redesign-checklist\/\" target=\"_blank\" rel=\"noopener\">new redesign<\/a>, you may temporarily redirect visitors to another location during development. A 302 redirect tells search engines that the original content will return, so it needs to keep its PageRank and indexing.<\/p>\n\n\n\n<p>Additionally, you\u2019ll want to regularly keep track of any redirects you create. If you don\u2019t, your site could end up with infinite redirect loops that increase your bounce rate. Ultimately, you\u2019ll want both search crawlers and online users to easily and quickly access the right content.<\/p>\n\n\n\n<p>Lastly, make sure you redirect to updated content that is relevant to the original page. Since visitors clicked on the original link, you\u2019ll need to provide helpful information.<\/p>\n\n\n\n<p>This will ensure the transition is smooth, preventing users from quickly leaving and going to your competitor. Plus, it will make sure crawlers continue to understand your content so you <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-rank-higher-seo-trends\/\" target=\"_blank\" rel=\"noopener\">rank higher<\/a> in search results.<\/p>\n\n\n\n<h2 id=\"h-permanently-redirect-old-links\" class=\"wp-block-heading\"><b>Permanently Redirect Old Links<\/b><\/h2>\n\n\n\n<p>If you\u2019re trying to consolidate your online content or move to a new domain, you\u2019ll need to set up 301 redirects. This can help you maintain steady traffic and avoid losing your high Google search ranking. Plus, redirects can prevent visitors from clicking on broken links.<\/p>\n\n\n\n<p>To review, here\u2019s how to create 301 redirects in WordPress:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install the <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">Redirection<\/a> plugin.<\/li>\n\n\n\n<li>Use an SEO plugin like <a href=\"https:\/\/wordpress.org\/plugins\/seo-by-rank-math\/\" target=\"_blank\" rel=\"noopener\">Rank Math<\/a>.<\/li>\n\n\n\n<li>Edit your .<i>htaccess<\/i> file.<\/li>\n\n\n\n<li>Create a server-side redirect with PHP.<\/li>\n<\/ol>\n\n\n\n<p>Are you worried that your redirects will negatively affect your SEO? Here at DreamHost, we provide professional <a href=\"https:\/\/www.dreamhost.com\/pro-services\/marketing\/seo-marketing\/\" target=\"_blank\" rel=\"noopener\">SEO marketing services<\/a> to help your website rank high in search results!<\/p>\n\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Search Engine Optimization Made Easy\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      We take the guesswork (and actual work) out of growing your website traffic with SEO.\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/pro-services\/marketing\/seo-marketing\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Learn More                    <\/a>\n\n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, you\u2019ll have to move or delete certain pages on your website. It\u2019s the circle of [website] life. But if you do move or delete a page, users could potentially be presented with a 404 error that prevents them from accessing your content, often leading to an exit. If you don\u2019t properly set up redirects, [&hellip;]<\/p>\n","protected":false},"author":1062,"featured_media":38830,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!","toc_headlines":"[[\"h-an-introduction-to-redirects\",\"<b>An Introduction to Redirects<\/b>\"],[\"h-reasons-you-might-use-a-301-redirect\",\"<b>Reasons You Might Use a 301 Redirect<\/b>\"],[\"h-how-to-create-301-redirects-in-wordpress-4-methods\",\"<b>How to Create 301 Redirects in WordPress (4 Methods)<\/b>\"],[\"h-how-to-troubleshoot-301-redirects\",\"<b>How to Troubleshoot 301 Redirects<\/b>\"],[\"h-common-redirect-mistakes\",\"<b>Common Redirect Mistakes<\/b>\"],[\"h-permanently-redirect-old-links\",\"<b>Permanently Redirect Old Links<\/b>\"]]","hide_toc":false,"footnotes":""},"categories":[13121,550,696],"tags":[],"class_list":["post-38808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-decoding-wordpress","category-tutorials","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Create 301 Redirects in WordPress (4 Methods) - DreamHost<\/title>\n<meta name=\"description\" content=\"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create 301 Redirects in WordPress (4 Methods)\" \/>\n<meta property=\"og:description\" content=\"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-24T15:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T01:58:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Social.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jason Cosper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jason Cosper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create 301 Redirects in WordPress (4 Methods) - DreamHost","description":"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Create 301 Redirects in WordPress (4 Methods)","og_description":"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2023-01-24T15:15:00+00:00","article_modified_time":"2025-05-22T01:58:46+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Social.jpg","type":"image\/jpeg"}],"author":"Jason Cosper","twitter_card":"summary_large_image","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Jason Cosper","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/"},"author":{"name":"Jason Cosper","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4"},"headline":"How to Create 301 Redirects in WordPress (4 Methods)","datePublished":"2023-01-24T15:15:00+00:00","dateModified":"2025-05-22T01:58:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/"},"wordCount":2039,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Feature.jpg","articleSection":["Decoding WordPress","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/","name":"How to Create 301 Redirects in WordPress (4 Methods) - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Feature.jpg","datePublished":"2023-01-24T15:15:00+00:00","dateModified":"2025-05-22T01:58:46+00:00","description":"If you\u2019re migrating to a new domain name, it\u2019s important to create 301 redirects. This can send any old traffic to a relevant, updated location!","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Feature.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/01\/WordPress-301-Redirects-Feature.jpg","width":900,"height":598,"caption":"How to Create 301 Redirects in WordPress (4 Methods)"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/301-redirects-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create 301 Redirects in WordPress (4 Methods)"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4","name":"Jason Cosper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","caption":"Jason Cosper"},"description":"Jason is DreamHost\u2019s WordPress Product Advocate, based out of Bakersfield, CA. He is currently working on making our DreamPress product even better. In his free time, he likes to curl up on the couch and watch scary movies with his wife Sarah and three very small dogs. Follow him on Twitter.","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/jasoncosper\/"}]}},"lang":"en","translations":{"en":38808,"es":38834,"ru":50706,"de":57216,"pt":57219,"pl":57246,"uk":57249,"it":68253,"fr":70082,"nl":70116},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1062"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=38808"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38808\/revisions"}],"predecessor-version":[{"id":61488,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38808\/revisions\/61488"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/38830"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=38808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=38808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=38808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}