{"id":11186,"date":"2023-09-27T05:09:00","date_gmt":"2023-09-26T23:39:00","guid":{"rendered":"https:\/\/www.wpoven.com\/blog\/?p=11186"},"modified":"2023-11-07T12:06:36","modified_gmt":"2023-11-07T06:36:36","slug":"wordpress-redirect","status":"publish","type":"post","link":"https:\/\/www.wpoven.com\/blog\/wordpress-redirect\/","title":{"rendered":"How does WordPress Redirect URL work? 5 Best Methods"},"content":{"rendered":"\n<p class=\"justify\">Whether you are migrating or moving your website from one host to another or making some significant changes, WordPress Redirect can be the best and most effective method that can save your website from broken link errors.<\/p>\n\n\n\n<p class=\"justify\">In this post, we try to bring you all the aspects of WordPress redirect from its true meaning to How you can implement it on your website to pull out the maximum benefits of it. Let us get started!<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_05b9d496-20c8-4508-b6eb-c4352de11dce\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_ddf44a38-5d9d-448e-b135-1340b8c6d6b3\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group fre-pros-box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">What are the WordPress redirect methods you can use?<\/h2>\n\n\n\n<p class=\"justify\">There are some effective methods through which you can easily do WordPress redirection on your web pages. <\/p>\n\n\n\n<ul>\n<li><a href=\"#Manual-Redirection-through-.htaccess-file\" data-type=\"internal\" data-id=\"#Manual-Redirection-through-.htaccess-file\">Manual Redirection Through the .htaccess File<\/a><\/li>\n\n\n\n<li><a href=\"#Manual-WordPress-Redirect-by-editing-WordPress-functions.php-file\" data-type=\"internal\" data-id=\"#Manual-WordPress-Redirect-by-editing-WordPress-functions.php-file\">Manual Redirection Through functions.php File<\/a><\/li>\n\n\n\n<li><a href=\"#WordPress-Redirect-with-the-help-of-a-Plugin\" data-type=\"internal\" data-id=\"#WordPress-Redirect-with-the-help-of-a-Plugin\">Using WordPress Plugins for Redirection<\/a><\/li>\n\n\n\n<li><a href=\"#WordPress-redirect-through-cPanel\" data-type=\"internal\" data-id=\"#WordPress-redirect-through-cPanel\">Through Cpanel<\/a><\/li>\n\n\n\n<li><a href=\"#WordPress-Redirect-on-Cloudflare\" data-type=\"internal\" data-id=\"#WordPress-Redirect-on-Cloudflare\">WordPress Redirect on Cloudflare<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_36189042-c7e6-4403-9505-8e6f0e029acb\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"Manual-Redirection-through-.htaccess-file\">1. Manual Redirection through <em>.htaccess <\/em>file<\/h3>\n\n\n\n<p class=\"justify\">The manual method might not be easy for many individuals, but if you are comfortable enough to access and edit your .htaccess file, then it would turn out to be one of the quickest ways to set up WordPress redirection. In this particular file, WordPress stores and manages all your website&#8217;s permalinks. This method turned out to be very effective as compared to other methods whether to redirect only one URL or a complete website.<\/p>\n\n\n\n<p class=\"justify\">Now let us see how you can start redirecting your URL using the <em>.htaccess<\/em> method. The first thing you need to find out is the URL that you want to redirect as well as its new destination for mapping. <\/p>\n\n\n\n<p class=\"justify\">Now the next part would be to make sure that you have successfully taken a <a href=\"https:\/\/www.wpoven.com\/blog\/backup-wordpress-site\/\" target=\"_blank\" data-type=\"post\" data-id=\"1778\" rel=\"noreferrer noopener\">backup of your WordPress site<\/a>. This is required to make sure if anything goes wrong during redirection, you can easily restore your website back.<\/p>\n\n\n\n<p class=\"justify\">Now you need to access your website&#8217;s file directory. To do this you have various options such as using the FTP client FileZilla, through Cpanel, or WordPress file editor.<\/p>\n\n\n\n<p class=\"justify\">One thing you must note is that sometimes the files may be hidden due to security reasons, in that case, you need to reveal them and Open the <em>.htaccess<\/em> file in a text editor. And add the following lines to completely redirect a single URL.<\/p>\n\n\n\n<p>Redirect 301 \/old-page.html<\/p>\n\n\n\n<p>http:\/\/www.Yourdomain.com\/new-page.html<\/p>\n\n\n\n<p class=\"justify\">Now in the above lines, you need to change the old page with the old URL you like to Map. And in the second line, replace the new page with your target URL.<\/p>\n\n\n\n<p class=\"justify\">In case your website has an SSL certificate, it is better to redirect your website from HTTP to more secure HTTPS URLs. To make this happen you need to add the lines to your<em> .htaccess<\/em> file given below:<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>RewriteEngine On<br>RewriteCond %{HTTPS} off<br>RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI}<br>[L,R=301]<\/strong><\/code><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_af3861f8-ed3e-43bc-b01f-0822d836a87f\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify round has-background\" style=\"background-color:#fff6dd\"><strong>Note: <\/strong>You are not required to any modifications\/changes in the above codes provided.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_667723c7-b13c-4f8c-9cb6-186633533a1c\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify\">After adding the above line, you can finally able to redirect your entire website to its destination URL. Also, modify\/change the URL in the third line so that it matches your target location:<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>RewriteEngine on<br>RewriteRule ^(&gt;*)$ http:\/\/www.Yournewdomain.com\/$1<br>[R=301,L]<\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\">Now, save all the changes and edits to your <em>.htaccess<\/em> file. However, if you have edited the file on your PC, you need to upload it to your website&#8217;s server.  The last thing you need to do is to run tests and see if everything is working fine or not.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_fe247c78-42d5-4145-9d13-210049f913f1\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"Manual-WordPress-Redirect-by-editing-WordPress-functions.php-file\">2. Manual WordPress Redirect by editing WordPress functions.php file<\/h3>\n\n\n\n<p class=\"justify\">If you do not prefer to edit your<em> .htaccess <\/em>file, you have another method to create 301 redirects for your WordPress website by editing the functions.php file in your Child theme. You might have also known that any WordPress theme has its own functions.php file present in which you make all the changes or customizations.<\/p>\n\n\n\n<p class=\"justify\">Similarly, to avoid the changes getting overwritten in the parent theme, wherever you update them. It is very important to make whatever changes or customizations you want to make, do it only in your child&#8217;s theme. However, if your theme has not had a child theme present you can read our <a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-child-theme\/\" target=\"_blank\" rel=\"noreferrer noopener\">complete guide on WordPress child theme.<\/a><\/p>\n\n\n\n<p class=\"justify\">Now, the first thing you need is to locate the functions.php file exactly the same way you locate your .htaccess file. For your convenience, you can see the image given below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"638\" height=\"664\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_8-1.png\" alt=\"WordPress Redirect by editing Php file\" class=\"wp-image-11209\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_8-1.png 638w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_8-1-288x300.png 288w\" sizes=\"(max-width: 638px) 100vw, 638px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect by editing a PHP file<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Now WordPress redirects your website completely, to a single new location, open functions.php file in a text editor. Add the following WordPress redirect function at the end of the file:<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>wp_redirect( \u201chttp:\/\/www.yourwebsite.com\/a-new-destination\u201d, 301 );<br>exit;<\/strong><\/code><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_08076d91-bb8d-428a-8f60-6ef1f51a87ad\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"WordPress-Redirect-with-the-help-of-a-Plugin\">3. WordPress Redirect with the help of a Plugin<\/h3>\n\n\n\n<p class=\"justify\">Now, if you are not comfortable accessing and editing the functios.php file or the .htaccess file, like always WordPress has plugins that also help you to solve this problem. There are many WordPress redirect plugins available that will help you to set up WordPress redirect without risking your website. But the one which we highly recommend you use is mentioned below with complete details.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"toc_section_Redirection\"><strong>Redirection<\/strong><\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2018\/04\/redrection.jpg\" alt=\"WordPress redirect plugin\" class=\"wp-image-2914\" title=\"How To Setup WordPress Redirect Plugins 3\"\/><\/a><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect Plugin<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-2 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-vivid-cyan-blue-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" style=\"border-radius:5px\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">Download Now<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">One of the most popular WordPress redirect plugins to use is Redirection. It is a simple and easy-to-use plugin that will help you create 301 redirects. Along with this, you can keep a check on your site, and will help you track the 404 error. It is a great plugin that is useful for boosting your ranking and enhancing the user experience.<\/p>\n\n\n\n<p class=\"justify\">Furthermore, this plugin is developed for WordPress websites. It is a free plugin that can be used by anyone. You will not need any comprehensive technical knowledge to create redirects. With the help of the Redirection plugin, you can manage redirects without any trouble.<\/p>\n\n\n\n<p>This plugin can be set to keep track of the permalinks of the posts. If the links change, the plugin will automatically set new redirects.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Some key features of the Redirection plugin<\/strong><\/h4>\n\n\n\n<ul>\n<li>Redirect Manager<\/li>\n\n\n\n<li>Conditional Redirects<\/li>\n\n\n\n<li>Full Logging<\/li>\n\n\n\n<li>Add HTTP headers<\/li>\n\n\n\n<li>Track 404 Errors<\/li>\n\n\n\n<li>Query parameter Handling<\/li>\n\n\n\n<li>Migrate Permalinks<\/li>\n\n\n\n<li>Apache and Ngnix Support<\/li>\n\n\n\n<li>Fine-grained permissions<\/li>\n\n\n\n<li>Import and Export and many more<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Pricing and plan of the Redirection plugin<\/strong><\/h4>\n\n\n\n<p class=\"justify\">The redirection plugin is available absolutely <strong>free <\/strong>to download and use without any premium plans from the WordPress directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How To Setup Redirects Using Redirection Plugin?<\/strong><\/h3>\n\n\n\n<p class=\"justify\">The Redirection plugin is not complex or complicated. All you have to do is install the plugin and activate it. Go to your WordPress <strong>dashboard &gt; Plugins &gt; Add new &gt; Search &#8220;Redirection&#8221;&gt; Install&gt; Activate<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"785\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_9-1-1024x785.png\" alt=\"WordPress redirect using plugin\" class=\"wp-image-11212\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_9-1-1024x785.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_9-1-300x230.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_9-1-768x589.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_9-1.png 1117w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress redirect using Plugin<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">After the activation of the plugin, you have to open \u201cTools\u201d and click on \u201cRedirection\u201d to create your URL redirects.<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2018\/04\/redirection-ss.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2018\/04\/redirection-ss.png\" alt=\"WordPress redirect plugin\" class=\"wp-image-2915\" title=\"How To Setup WordPress Redirect Plugins 4\"\/><\/a><figcaption class=\"wp-element-caption\"><em><sup>WordPress redirect plugin<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">If you wish to type the redirect, you can type in the source URL and the new source in the Target URL. Then, click on the \u201cAdd Redirection\u201d button. This is an ideal way to change a few URLs.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Redirection updates and Reviews<\/strong><\/h4>\n\n\n\n<p class=\"justify\">We checked with Redirection customer reviews on the WordPress Directory and have\u00a0been pushing and found the following results for its latest version, <strong>5.1.13<\/strong>.<\/p>\n\n\n\n<ul class=\"justify\">\n<li>It has a whooping\u00a02+ Million\u00a0active installations right now.<\/li>\n\n\n\n<li>For us, it shows that it was updated&nbsp;<strong>4 months ago<\/strong>. [ regularly updating ]<\/li>\n\n\n\n<li>It has been currently tested up to&nbsp;<strong>WordPress 5.8.2.<\/strong><\/li>\n\n\n\n<li>According to the WordPress Directory, its average rating is <strong>&nbsp;4.3\/5<\/strong>. 444 users out of 571 gave it 5 stars.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"203\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_10-1-1024x203.png\" alt=\"WordPress Redirect Plugin Rating\" class=\"wp-image-11211\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_10-1-1024x203.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_10-1-300x60.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_10-1-768x153.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_10-1.png 1223w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect Plugin Rating<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_784f6f5f-1fa9-4765-a799-95ea89f34a73\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"WordPress-redirect-through-cPanel\">4. WordPress redirect through cPanel<\/h3>\n\n\n\n<p class=\"justify\">If you do not like to use any of the above methods for WordPress redirects, this option can be helpful for you. The method is very simple and easy. All you need to do is to <\/p>\n\n\n\n<p>1. Go to your Web hosting&#8217;s cPanel and Under the Domains Section click on redirects.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"370\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_11-2-1024x370.png\" alt=\"\" class=\"wp-image-11213\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_11-2-1024x370.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_11-2-300x108.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_11-2-768x278.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_11-2.png 1189w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect through cPanel<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">2. From the above image, you can see there are different options present. In the &#8220;Type&#8221; dropdown box, you have to select the type of redirection you would like to do, such as permanent or temporary. <\/p>\n\n\n\n<p class=\"justify\">3. In the second drop-down menu, you are required to select your domain and the page address you like to redirect.<\/p>\n\n\n\n<p class=\"justify\">4. After selecting the appropriate options, in the last box you need to provide the web address or destination URL to redirect the current page. Once you are done with providing all the information click on the &#8220;Add&#8221; button and you are done.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_157df949-7888-4b7b-b37c-0deabf880738\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"WordPress-Redirect-on-Cloudflare\">5. WordPress Redirect on Cloudflare<\/h3>\n\n\n\n<p class=\"justify\">In case, your website uses Cloudflare, then you have also an option to <a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-cloudflare-plugin-settings\/\" target=\"_blank\" data-type=\"post\" data-id=\"6882\" rel=\"noreferrer noopener\">WordPress redirect through Cloudflare<\/a> as well. All you need to do is go to the homepage, select the domain you wish to redirect to<\/p>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"315\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_12-3-1024x315.png\" alt=\"WordPress Redirect on Cloudflare\" class=\"wp-image-11214\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_12-3-1024x315.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_12-3-300x92.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_12-3-768x236.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_12-3.png 1079w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect on Cloudflare<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">2. The next thing you need to do is to click on the &#8220;Page Rules&#8221; tab as shown in the picture below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"110\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4-1024x110.png\" alt=\"WordPress Redirect on Cloudflare\" class=\"wp-image-11215\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4-1024x110.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4-300x32.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4-768x82.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4-1536x164.png 1536w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_13-4.png 1598w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress Redirect on Cloudflare<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">3. Now click on the &#8220;Create Page rule&#8221; button and a popup dialog will appear. Now enter the URL which you would to redirect. Select the &#8220;Forwarding URL&#8221; option located under the settings and choose either 301 or 302 redirects as per your choice. And at the last provide the destination URL to where you would like your current URL redirect to. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"483\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_14-4-1024x483.png\" alt=\"WordPress redirection on Cloudflare\" class=\"wp-image-11216\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_14-4-1024x483.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_14-4-300x142.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_14-4-768x362.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2021\/11\/Screenshot_14-4.png 1293w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>WordPress redirection on Cloudflare<\/sup><\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">4. After providing all the essential information, the next thing you need to do is to click on the &#8220;Save and Deploy&#8221; button to complete the WordPress redirection process.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_4202b43d-f29e-45da-8855-326790124928\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"has-text-align-left round has-background\" style=\"background-color:#daf2ff\"><strong>Read:<\/strong>   \ud83d\udea9 <a href=\"https:\/\/www.wpoven.com\/blog\/how-to-setup-wordpress-redirect-plugins\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/how-to-setup-wordpress-redirect-plugins\/\" rel=\"noreferrer noopener\">How To Setup WordPress Redirect Plugins<\/a><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_4202b43d-f29e-45da-8855-326790124928\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">What is WordPress Redirect all About?<\/h2>\n\n\n\n<p class=\"justify\">The term Redirect means to send a message to the visitors that the page they are trying to visit has been relocated. This is a method by which your website redirects or moves visitors to another location automatically.<\/p>\n\n\n\n<p class=\"justify\">This method is mainly implemented when you are either deleting a post\/page for the new content, changing the permalinks of a page or you are completely moving your website to another domain. The major benefit of setting up WordPress redirect is to get SEO benefits as well as to improve user experience.<\/p>\n\n\n\n<p class=\"justify\">But if you do not choose to set WordPress redirect, it can potentially harm your domain&#8217;s SEO rankings as well as your website will have broken links, that you won&#8217;t like to happen with your website. Hence, in this post\/article we try to cover all the aspects of WordPress redirecting such as its advantages and the different types of WordPress redirects you can explore.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_4202b43d-f29e-45da-8855-326790124928\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group fre-cons-box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">Reasons behind using WordPress Redirects<\/h2>\n\n\n\n<p class=\"justify\">There are various reasons behind using a WordPress redirect and it all depends on which type of redirecting you are implementing. But, the majority of the redirects are used to provide benefits to your website and the business associated with it. While some of them are used to resolve various technical glitches or issues.<\/p>\n\n\n\n<p class=\"justify\">Some common and main reasons for using WordPress Redirects:<\/p>\n\n\n\n<ul class=\"justify\">\n<li><strong>404 errors (Page not found error)-&nbsp;<\/strong>One of the most common errors that almost every user has to face daily. These errors usually occur when a user visits a page that is not found. This mainly happens due to, either the user has typed the wrong URL  or the page has been moved to a new address. However, you have also an option to make your 404 error pages more informative and entertaining to keep your visitors engaged.<\/li>\n\n\n\n<li><strong>SEO Aspects-<\/strong> You know how links or URLs need to be well-optimized for better visibility on Search engines. No matter whether you are rebranding your website or want to implement SEO techniques on URLs, 301 redirects to another way through which you can boost your SEO.&nbsp;For example, if you want to make your website URLs more clean and readable, redirecting can let this happen without compromising your website&#8217;s SEO.<\/li>\n\n\n\n<li><strong>Change in Permalinks-&nbsp;<\/strong>Editing or changing your permalink can be more beneficial for the SEO aspect of your website. If you want to make certain changes in the existing live URL or to completely change its structure, you need to use the redirect method to avoid a 404 page not found error.<\/li>\n\n\n\n<li><strong>Updating URLs<\/strong>&#8211;<strong>&nbsp;<\/strong>If your website has become old and you have some popular posts or pages present in them. And you have decided to optimize the URLs for the users who use the latest devices such as smartphones. It would be great to optimize your old Urls for smartphones with better readability and make redirection for those who might have bookmarked your website as their favorites.<\/li>\n\n\n\n<li><strong>Directory changes<\/strong>&#8211; Sometimes due to some security or any other reasons, you might need to relocate or move your website directory. In this case,&nbsp;301 redirects will help your visitors to reach the right place.<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">Whatever the reasons for the redirection of either pages or posts, you must consider some points before proceeding with redirection. It is better you must make a complete plan about how you are going to redirect the pages\/posts and their SEO aspects.<\/p>\n<\/div><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_9bb872dd-4c70-410b-a601-da691b17ccd3\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group tip is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">Different Types of WordPress Redirect<\/h2>\n\n\n\n<p class=\"justify\">When you came across the term redirect, we usually understood it as a simple process in which one URL is being mapped to a different or alternate one. In simple words, using this method you can redirect users from address A to address B.<\/p>\n\n\n\n<p>However, this method has different variations, which you can see below:<\/p>\n\n\n\n<p>There are mainly 5 types of WordPress redirects you can use:<\/p>\n\n\n\n<ul class=\"justify\">\n<li><strong>301<\/strong>\u2013 The most common type of redirect is 301. It is a permanent redirect and is used when the location of the page has changed permanently. Most of the time, this is the only redirect that you will need.<\/li>\n\n\n\n<li><strong>302<\/strong>\u2013 This is a temporary redirect that will tell the reader\u2019s browser that the location of the page or post has been changed for the time being.<\/li>\n\n\n\n<li><strong>303<\/strong>\u2013 It is usually used for high-traffic shopping sites. This is helpful for ensuring that the pages that contain one-time data like the checkout page, are not refreshed or bookmarked.<\/li>\n\n\n\n<li><strong>307<\/strong>\u2013 This is another temporary redirect that is similar to 303. The difference is in the way information is passed from one page to another.<\/li>\n\n\n\n<li><strong>308<\/strong>\u2013 It is a permanent redirect that is just like 307 but has permanent status.&nbsp;This <a href=\"https:\/\/www.wpoven.com\/blog\/http-status-codes\/\" data-type=\"post\" data-id=\"4906\">status code<\/a> is similar to 301 (Moved Permanently), except that it does not allow changing the request method from POST to GET<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">All the above WordPress redirects have their own use and advantages. But for now, we will be discussing the most common and widely used 301 redirects.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_90bd9cfb-bac7-48c7-835b-99a9cb23a16e\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"justify\">No matter if you are going to move your website to a new address, want to make certain changes in your permalinks, or fix your website&#8217;s broken links to optimize your search engine rankings, it all depends on you and your skills to which method would be best suitable. As I have already mentioned some best 5 methods for WordPress redirect such as:<\/p>\n\n\n\n<ul class=\"justify\">\n<li><strong>Webhosting provider Dashboard:<\/strong> If your web hosting service provider gives you a dedicated link for WordPress redirection.<\/li>\n\n\n\n<li><strong>Editing the .htaccess file:<\/strong> Best suitable option if you are looking to redirect the whole website.<\/li>\n\n\n\n<li><strong>BY editing functions.php file: <\/strong>Best suitable option if you are looking for specified redirections.<\/li>\n\n\n\n<li><strong>WordPress redirect plugins:<\/strong> Best suitable for beginners or users who are not comfortable in editing core files.<\/li>\n\n\n\n<li><strong>By WordPress<\/strong> <strong>redirect on Cloudflare<\/strong>: If your website is using Cloudflare.<\/li>\n\n\n\n<li><strong>By using cPanel:<\/strong> You can do if right from cPanel too.<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">You can choose whichever option you are comfortable with. If you have any questions regarding using redirects on your WordPress website or you find some more valuable points that we didn&#8217;t mention in this post, please do let us know in the comment section below!<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_e8652ce7-85a4-428a-b3e7-0ed3e50fbbbc\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Frequently Asked Questions<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block justify\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1637583855469\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How many types of redirects are there?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>There are mainly 5 types of redirections that are used commonly.<br \/>1. <strong>301<\/strong>&#8211; Permanent Redirection<br \/>2<strong>. 302<\/strong>&#8211; Temporary Redirection<br \/>3. <strong>303<\/strong>&#8211; For high-traffic shopping sites<br \/>4. 307- Similar to 303 but the difference in information sharing<br \/>5.<strong> 308-<\/strong> Similar to 307 but has permanent status<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1637584139784\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How do I set up a redirect?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>1. Go to your Cpanel &gt; Domains &gt; Redirects<br \/>2. Select the type of redirection you want from the &#8220;Type&#8221; drop-down menu.<br \/>3. Select the domain and page address you would like to redirect in the second drop-down menu.<br \/>4. In the last box provide the destination URL to where you like to redirect your website\/page to.<br \/>and you are done.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1637584422169\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Which is better 301 or 302 redirect?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Both 301 and 302 have their own benefits for redirecting, when you are moving your website to a permanent location 301 would be the best option to do rather than using 302 reactions. However, 302 redirections are only used if you want to redirect your website temporarily, it will tell search engines to keep the old domain as it is and the page indexed. <\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_06ae2b06-33f0-4cbb-b64c-4c51c8df4e62\"><hr class=\"ub_divider\" ><\/hr><\/div>","protected":false},"excerpt":{"rendered":"<p>Whether you are migrating or moving your website from one host to another or making some significant changes, WordPress Redirect can be the best and most effective method that can save your website from broken link errors.<\/p>\n<p>In this post, we try to bring you all the aspects of WordPress redirect from its true meaning to How you can implement it on your website to pull out the maximum benefits of it. Let us get started! &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-redirect\/\" class=\"more-link\">Read More <i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i><span class=\"screen-reader-text\"> &#8220;How does WordPress Redirect URL work? 5 Best Methods&#8221;<\/span><\/a><\/p>\n","protected":false},"author":28,"featured_media":21427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[6,13,17],"acf":[],"featured_image_src":"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/WordPress-Redirect.png","author_info":{"display_name":"Rahul","author_link":"https:\/\/www.wpoven.com\/blog\/author\/rahul\/"},"_links":{"self":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/11186"}],"collection":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/comments?post=11186"}],"version-history":[{"count":2,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/11186\/revisions"}],"predecessor-version":[{"id":23893,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/11186\/revisions\/23893"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/media\/21427"}],"wp:attachment":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/media?parent=11186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/categories?post=11186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}