{"id":1494,"date":"2017-07-03T08:21:08","date_gmt":"2017-07-03T12:21:08","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?p=1494"},"modified":"2025-06-12T14:29:52","modified_gmt":"2025-06-12T18:29:52","slug":"how-to-set-up-a-301-redirect","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/","title":{"rendered":"How to Set Up a 301 Redirect"},"content":{"rendered":"\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-enthusiast\/\"><p class=\"\"style=\"background-color:#1a3d6e!important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Enthusiast<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional-plus\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional Plus<\/p><\/a> <\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is a 301 Redirect?&nbsp;<\/h3>\n\n\n\n<p>A 301 redirect is a way to permanently reroute traffic from an old URL to a new one. If a business is moving to a new website, it might be hard to reach all the customers about the change (and even harder to get them to remember).<\/p>\n\n\n\n<p>A 301 redirect solves the problem by rerouting all the traffic from the old URL to the new one. So customers who accidentally go to the old site will automatically end up at the new one, even though the URLs differ.<\/p>\n\n\n\n<p>You can add 301 redirects for single pages or entire domains. All you have to do is add a line into your .htaccess file. This is easy to do in Pair's Account Control Center. Just follow the steps below:<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">If you have a&nbsp;<strong>WP Professional<\/strong>&nbsp;or&nbsp;<strong>WP Enthusiast<\/strong>&nbsp;hosting&nbsp;account, 301 redirects will be configured differently. Go to the&nbsp;WP Hosting 301 Redirects&nbsp;section&nbsp;to see how we recommend setting one up.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Accessing Your .htaccess File<\/h3>\n\n\n\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a><\/span><\/p>\n\n\n\n<p>Choose the tutorial that reflects your ACC interface type:&nbsp;<\/p>\n\n\n\n<ul>\n<li><a href=\"#if-you-are-using-the-legacy-interface\">Legacy Interface<\/a><\/li>\n\n\n\n<li><a href=\"#if-you-are-using-the-new-acc-interface\">New ACC Interface<\/a><\/li>\n<\/ul>\n\n\n\n<p>Not sure what the difference is? See<a href=\"http:\/\/pair.com\/support\/kb\/which-acc-interface-am-i-using\/\"> Which ACC Interface Am I Using?&nbsp;<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the Legacy Interface:<\/h4>\n\n\n\n<ol>\n<li><span style=\"font-weight: 400;\">Log into the <\/span><b>Account Control Center <\/b><span style=\"font-weight: 400;\">(ACC)<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click <\/span><b>Domains<\/b><span style=\"font-weight: 400;\"> in the left sidebar<\/span><\/li>\n\n\n\n<li>Click <b>Manage Your Domain Names<\/b> in the drop-down<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5127\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains.png\" alt=\"manage your domains\" width=\"886\" height=\"291\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains.png 886w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains-300x99.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains-768x252.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains-50x16.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains-60x20.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains-100x33.png 100w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/a><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Under <\/span><b>Domain Name<\/b><span style=\"font-weight: 400;\">, click the name of the domain you would like to redirect<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5128\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name.png\" alt=\"domain name image\" width=\"711\" height=\"160\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name.png 711w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name-300x68.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name-50x11.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name-60x14.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/domain-name-100x23.png 100w\" sizes=\"(max-width: 711px) 100vw, 711px\" \/><\/a><\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Across from <\/span><b>Web Settings<\/b><span style=\"font-weight: 400;\">, click <\/span><b>Manage Web Settings<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5129\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings.png\" alt=\"web settings image\" width=\"650\" height=\"208\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings.png 650w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings-300x96.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings-50x16.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings-60x19.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/web-settings-100x32.png 100w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/b><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">If you have never created an .htaccess file before, click <\/span><b>Create an .htaccess File. <\/b><span style=\"font-weight: 400;\">If you already have a .htaccess file, click <\/span><b>View or Edit Your .htaccess File<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5130\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess.png\" alt=\"htaccess image\" width=\"723\" height=\"610\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess.png 723w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess-300x253.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess-50x42.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess-60x51.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/htaccess-100x84.png 100w\" sizes=\"(max-width: 723px) 100vw, 723px\" \/><\/a><\/b><\/li>\n<\/ol>\n\n\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">&nbsp;Leave the file name as-is. It must remain <\/span><b>.htaccess<\/b><span style=\"font-weight: 400;\"> in order to work.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">&nbsp;Leave the file name as-is. It must remain&nbsp;<strong>.htaccess<\/strong>&nbsp;in order to work.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the New ACC Interface:<\/h4>\n\n\n\n<ol>\n<li>Log in to your account at <a href=\"http:\/\/my.pair.com\/\">my.pair.com<\/a><\/li>\n\n\n\n<li>In the top navigation bar, click <strong>Domains<\/strong><\/li>\n\n\n\n<li>Find the domain name you would like to redirect, then click its <strong>Edit<\/strong> button<\/li>\n\n\n\n<li>Under the \u201cOverview\u201d section, find the <strong>Web Directory Settings<\/strong> and click its <strong>Edit<\/strong> button<\/li>\n\n\n\n<li>Next to <strong>.htaccess File<\/strong>, click the <strong>Create <\/strong>or <strong>Edit<\/strong> button<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">&nbsp;Leave the file name as-is. It must remain&nbsp;<strong>.htaccess<\/strong>&nbsp;in order to work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Adding a 301 Redirect&nbsp;<\/h3>\n\n\n\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-enthusiast\/\"><p class=\"\"style=\"background-color:#1a3d6e!important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Enthusiast<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional-plus\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional Plus<\/p><\/a><\/span><\/p>\n\n\n\n<p>To set up the redirect, you will need to add a few lines into&nbsp;the .htaccess&nbsp;file. See the example lines below and add the lines that best fit your situation.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-weight: 400;\">To 301 Redirect a Single Page:<\/span><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-weight: 400;\">Redirect 301 \/old-file.html <\/span><span style=\"font-weight: 400;\">http:\/\/www.domain.com\/new-file.html\n<\/span><\/pre>\n\n\n\n<p>Add this line to your .htaccess. Replace <em>old-file.html<\/em> with the file name of the page you want to be redirected. If the file is not in the top-level of the directory, then include the file path in front of the <em>\/old-file.html<\/em>.<\/p>\n\n\n\n<p>Replace <em>http:\/\/www.domain.com\/new-file.html<\/em> with the URL you want the page redirected to.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-weight: 400;\">To 301 Redirect an Entire Domain:<\/span><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-weight: 400;\">Redirect 301 \/ <\/span><span style=\"font-weight: 400;\">http:\/\/www.new-domain.com\/\n<\/span><\/pre>\n\n\n\n<p>Replace&nbsp;<em>http:\/\/www.new-domain.com\/<\/em> with the URL that you would like your site to redirect to.<\/p>\n\n\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Be sure to add a blank line at the end of your .htaccess document. This signals to the server that it has reached the end of the .htaccess file. <\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n\n\n\n<p><span style=\"font-weight: 400;\">After you are finished, click <\/span><b>Create File <\/b><span style=\"font-weight: 400;\">for new files<\/span> <span style=\"font-weight: 400;\">or <\/span><b>Save Changes <\/b><span style=\"font-weight: 400;\">if you already had an .htaccess.<\/span><br><a name=\"4\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WP Hosting 301 Redirects<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Basic Users<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">Create redirects by adding the <\/span><a href=\"https:\/\/wordpress.org\/plugins\/simple-301-redirects\/\"><b>Simple 301 Redirect<\/b><\/a><span style=\"font-weight: 400;\"> plugin to your site<\/span><span style=\"font-weight: 400;\">. Follow these steps:<\/span><\/p>\n\n\n\n<ol>\n<li>Go to the WordPress plugin directory and search for \"Simple 301 Redirect\"<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5139\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor.png\" alt=\"plugins image\" width=\"700\" height=\"162\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor.png 700w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor-300x69.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor-50x12.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor-60x14.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/PLUGINS-compressor-100x23.png 100w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click the&nbsp;<strong>Install Now<\/strong> button in the plugin's box<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor.png\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5137\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor.png\" alt=\"install image\" width=\"622\" height=\"338\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor.png 622w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor-300x163.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor-50x27.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor-60x33.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/install-now-compressor-100x54.png 100w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><\/a><\/span><\/li>\n\n\n\n<li>Click the&nbsp;<strong>Activate&nbsp;<\/strong>button after the plugin has finished installing<br><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor.png\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5138\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor.png\" alt=\"activate image\" width=\"590\" height=\"359\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor.png 590w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor-300x183.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor-50x30.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor-60x37.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/ACTIVATE-PLUGINs-compressor-100x61.png 100w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/><\/a><\/li>\n\n\n\n<li>Click&nbsp;<strong>Settings<\/strong>, then click <strong>301 Redirects<\/strong> in the drop-down<br><b><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect.png\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5135\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect.png\" alt=\"301 redirect image\" width=\"760\" height=\"286\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect.png 760w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect-300x113.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect-50x19.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect-60x23.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-redirect-100x38.png 100w\" sizes=\"(max-width: 760px) 100vw, 760px\" \/><\/a><\/b><\/li>\n\n\n\n<li>Under <strong>Re<\/strong><strong>quest<\/strong>, enter the file name of the page you want redirected<\/li>\n\n\n\n<li>Under&nbsp;<strong>Destination<\/strong>, enter the URL that you want the page to be redirected to<br><\/li>\n<\/ol>\n\n\n    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tIf you need more format the file name and URL for the redirect, click the <b> Documentation<\/b> link at the bottom of the page.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2.png\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" width=\"569\" height=\"314\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2.png\" alt=\"301 redirect image\" class=\"wp-image-5140\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2.png 569w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2-300x166.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2-50x28.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2-60x33.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/301-REDIRECT2-100x55.png 100w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/a><\/figure>\n\n\n\n<li>Click&nbsp;<strong>Save Changes<\/strong><\/li>\n\n\n\n<h4 class=\"wp-block-heading\">Advanced Users<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">For more advanced WordPress users, the PHP header can be edited to create a redirect. Check out the <\/span><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_redirect\/\"><b>wp_redirect <\/b><\/a><span style=\"font-weight: 400;\">feature\u2019s<\/span> <span style=\"font-weight: 400;\">WordPress documentation to see how this works.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a 301 Redirect?&nbsp; A 301 redirect is a way to permanently reroute traffic from an old URL to a new one. If a business is moving to a new website, it might be hard to reach all the customers about the change (and even harder to get them&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[4],"ht-kb-tag":[178,176,177,179,180,199],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up a 301 Redirect - Knowledge Base - Pair Networks<\/title>\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.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up a 301 Redirect - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"What is a 301 Redirect?&nbsp; A 301 redirect is a way to permanently reroute traffic from an old URL to a new one. If a business is moving to a new website, it might be hard to reach all the customers about the change (and even harder to get them...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-12T18:29:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/\",\"name\":\"How to Set Up a 301 Redirect - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2017-07-03T12:21:08+00:00\",\"dateModified\":\"2025-06-12T18:29:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up a 301 Redirect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up a 301 Redirect - Knowledge Base - Pair Networks","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.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up a 301 Redirect - Knowledge Base - Pair Networks","og_description":"What is a 301 Redirect?&nbsp; A 301 redirect is a way to permanently reroute traffic from an old URL to a new one. If a business is moving to a new website, it might be hard to reach all the customers about the change (and even harder to get them...","og_url":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2025-06-12T18:29:52+00:00","og_image":[{"url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/07\/manage-domains.png"}],"twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/","url":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/","name":"How to Set Up a 301 Redirect - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2017-07-03T12:21:08+00:00","dateModified":"2025-06-12T18:29:52+00:00","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-set-up-a-301-redirect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Set Up a 301 Redirect"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/1494"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=1494"}],"version-history":[{"count":19,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/1494\/revisions"}],"predecessor-version":[{"id":10147,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/1494\/revisions\/10147"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=1494"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=1494"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}