{"id":47680,"date":"2021-01-20T11:59:20","date_gmt":"2021-01-20T11:59:20","guid":{"rendered":"https:\/\/elementor.com\/blog\/?p=47680"},"modified":"2021-01-20T11:59:20","modified_gmt":"2021-01-20T11:59:20","slug":"redirect-url-wordpress","status":"publish","type":"post","link":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/","title":{"rendered":"How To Redirect URLs in WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"47680\" class=\"elementor elementor-47680\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-31b9c4b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"31b9c4b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9f14038\" data-id=\"9f14038\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-34c46b3 elementor-widget elementor-widget-text-editor\" data-id=\"34c46b3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>At some point in the life of your WordPress site, you&#8217;re going to need to set up redirects so that you can send visitors from one location on your site to another location. For that reason, it&#8217;s important to understand what redirects are, what you can use them for, and how to set them up on your site.<\/p><p>In this post, we&#8217;ll cover all of those topics and show you how to create your first redirect either using your own code or via a <a href=\"https:\/\/elementor.com\/blog\/best-free-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\">free WordPress plugin<\/a>.<\/p><p>This is an essential tool to have in your WordPress toolbox. So if you aren&#8217;t familiar with redirects, keep reading to learn everything that you need to know.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c32506d elementor-align-center elementor-widget elementor-widget-button\" data-id=\"5c32506d\" data-element_type=\"widget\" data-gac=\"CTA_Elements\" data-gaa=\"Link\" data-gal=\"Position_Text_CTA\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Discover How To Set up Subdomains<br> for Better User Experience<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-87fb202 blog-toc elementor-widget elementor-widget-heading\" data-id=\"87fb202\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Table of Contents<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-297efcd blog-toc elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list\" data-id=\"297efcd\" data-element_type=\"widget\" data-widget_type=\"icon-list.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul class=\"elementor-icon-list-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#what-is\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">What Is a URL Redirect?<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#what-use-for\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">What Can You Use URL Redirects For?<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#types\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Different Types of URL Redirects and When You Should Use Them<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-create\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Create a URL Redirect in WordPress Using .htaccess<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#step-one\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">1. Locate Your Site's .htaccess File<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#step-two\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">2. Make a Backup of Your .htaccess File<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#step-three\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">3. Add Your Redirects<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-plugin\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Redirect a URL With a WordPress Plugin<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#best-plugin\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Best WordPress Redirect Plugins<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-set-up\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Set Up Server-Level Redirects<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-redirect-to-https\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Redirect HTTP To HTTPS<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-redirect-non-www\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Redirect WWW To Non-WWW (or Vice Versa)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how-to-entire-domain\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Redirect an Entire Domain<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1326231 elementor-widget elementor-widget-menu-anchor\" data-id=\"1326231\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"what-is\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8da5c83 elementor-widget elementor-widget-heading\" data-id=\"8da5c83\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What Is a URL Redirect?\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a9f601e elementor-widget elementor-widget-text-editor\" data-id=\"a9f601e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/blog\/url\/\"   title=\"URL\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"7065\">URL<\/a> redirect lets you send visitors\/bots from one URL on your site to another URL on your site.<\/p><p>For example, let&#8217;s say you wrote a blog post at <strong>yoursite.com\/best-plugins-2020 <\/strong>and now you want to change it to <strong>yoursite.com\/best-plugins-2021<\/strong>. With a URL redirect, you can set it up so that anyone who visits <strong>yoursite.com\/best-plugins-2020 <\/strong>gets automatically sent to <strong>yoursite.com\/best-plugins-2021<\/strong>.<\/p><p>This helps you provide a better experience for your human visitors by making sure they&#8217;re always able to access the content that they&#8217;re looking for. For example, instead of <a href=\"https:\/\/elementor.com\/blog\/create-custom-wordpress-404-page\/\" target=\"_blank\" rel=\"noopener\">seeing a 404 error page<\/a> if they visited the <strong>best-plugins-2020<\/strong> URL, they would still be able to access the latest content because they automatically get redirected to <strong>best-plugins-2021<\/strong>.<\/p><p>Redirects are also important for <a href=\"https:\/\/elementor.com\/blog\/elementor-seo\/\" target=\"_blank\" rel=\"noopener\">search engine optimization (SEO)<\/a> because they let you preserve your rankings and links. For example, let&#8217;s say you got a lot of links from other sites to your <strong>best-plugins-2020<\/strong> post (which is good for SEO). If you didn&#8217;t set up a redirect, you would lose much of the benefit of those links when you changed the URL. But with a redirect, you can preserve that link authority for the new URL.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ea1b0f elementor-widget elementor-widget-menu-anchor\" data-id=\"9ea1b0f\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"what-use-for\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf5eb9d elementor-widget elementor-widget-heading\" data-id=\"cf5eb9d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">What Can You Use URL Redirects For?\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a546c7 elementor-widget elementor-widget-text-editor\" data-id=\"7a546c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>Change a piece of content&#8217;s URL<\/strong> &#8211; whenever you change the URL of a post or page on your WordPress site, you should set up a redirect to avoid <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/blog\/404-not-found\/\"   title=\"404\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"4599\">404<\/a> errors and maximize SEO.<\/li><li><strong>Fix broken content<\/strong> &#8211; if you see a lot of 404 errors to a certain URL on your site, you can set up a redirect to send those visitors straight to the content that they&#8217;re looking for.<\/li><li><strong>Change your site&#8217;s domain name <\/strong>&#8211; if you ever change your WordPress site&#8217;s domain name (during a <a href=\"https:\/\/elementor.com\/blog\/site-migration\/\">site migration<\/a>, for example), you should always set up a redirect so that visitors to the old domain get sent to the new one.<\/li><li><strong>Move from HTTP to HTTPS<\/strong> &#8211; when you install an SSL\/TLS certificate, you should set up a redirect to make sure that all visitors use the more secure HTTPS version of your site instead of HTTP.<\/li><li><strong>Force www or non-www<\/strong> &#8211; if you prefer <strong>www.yoursite.com <\/strong>vs <strong>yoursite.com<\/strong>, you can set up a redirect to force all visitors to use the <strong>www<\/strong> version (or vice versa).<\/li><li><strong>Create pretty links <\/strong>&#8211; redirects can help you create prettier internal or external links. For example, a lot of affiliate sites cloak their links (<strong>yoursite.com\/go\/affiliate-offer<\/strong>). This tactic is based on redirects. Or, link shortening services like bit.ly also operate via redirects.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-29be7b4 elementor-widget elementor-widget-menu-anchor\" data-id=\"29be7b4\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"types\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13c4d34 elementor-widget elementor-widget-heading\" data-id=\"13c4d34\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Different Types of URL Redirects and When You Should Use Them\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fa44cd2 elementor-widget elementor-widget-text-editor\" data-id=\"fa44cd2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To add a little complication, there are different types of redirects, each accompanied by a numerical code. All redirects function the same (sending traffic from one place to another), but the numerical code serves to communicate additional information about the redirect to users&#8217; web browsers and search engines like Google:<\/p><ul><li><strong>301 Moved Permanently &#8211; <\/strong>this code indicates that the redirect is permanent. More specifically, the content in question is no longer located at the original URL and is permanently moved to the new URL. This is the most common type of redirect and it&#8217;s important for SEO because it gives you a chance to pass the &#8220;authority&#8221; from the original URL to the new URL.<\/li><li><strong>302 Found (Temporary Redirect)<\/strong> &#8211; this code indicates that the redirect is temporary. In other words, the content still exists at the original URL, but users are temporarily being sent to another page. You won&#8217;t use this code that often &#8211; it&#8217;s mainly only useful for things like A\/B testing, <a href=\"https:\/\/elementor.com\/blog\/wordpress-maintenance-mode\/\">maintenance<\/a>, or geotargeting. You should never use 302 redirects for SEO purposes.<\/li><li><strong>303 See Other<\/strong> &#8211; this is very similar to a 302 redirect. The key difference is that it stops users from submitting information more than once (e.g. their credit card details). In more technical details, it stops the user&#8217;s browser from making another PUT request and tells it to use GET for subsequent requests.<\/li><li><strong>307 Temporary Redirect<\/strong> &#8211; also very similar to 302\/303 redirects. Again, the only difference is in the technical details &#8211; a 307 redirect uses the same technique to send and get information while the 303 redirect uses two different techniques.<\/li><li><strong>308 Permanent Redirect<\/strong> &#8211; this is similar to the 301 redirect in that it means the content has permanently been moved. The difference is in the technical details &#8211; a 308 redirect can only use POST, while a 301 redirect can change from POST to GET.<\/li><\/ul><p><strong>As a WordPress user, you&#8217;ll almost always use 301 redirects to permanently redirect content<\/strong>, While the other types of redirects are still useful for developers in the niche scenarios that we mentioned, most average users will only ever need to work with 301 redirects.\u00a0<\/p><p>And again, for SEO purposes, you&#8217;ll also almost always want to use 301 redirects.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-449f5d8 elementor-widget elementor-widget-menu-anchor\" data-id=\"449f5d8\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-create\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-60c2745 elementor-widget elementor-widget-heading\" data-id=\"60c2745\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Create a URL Redirect in WordPress Using .htaccess\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f13e28d elementor-widget elementor-widget-text-editor\" data-id=\"f13e28d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If your web host uses the Apache web server (which most <a href=\"https:\/\/elementor.com\/blog\/wordpress-hosting-elementor\/\" target=\"_blank\" rel=\"noopener\">WordPress hosts<\/a> do, excluding some popular managed providers such as Kinsta or Flywheel), you can set up redirects by editing your site&#8217;s <strong>.htaccess<\/strong> file.<\/p><p><strong>Note <\/strong>&#8211; some managed WordPress hosts use the Nginx web server, which doesn&#8217;t support .htaccess files. If you can&#8217;t find your site&#8217;s .htaccess file, you might want to reach out to your host&#8217;s support to ask them how to proceed. Some Nginx-based hosts have built their own redirect tools.<\/p><p>Assuming your host does have .htaccess files, here&#8217;s how to do it:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-60dd416 elementor-widget elementor-widget-menu-anchor\" data-id=\"60dd416\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"step-one\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d3b8d7 elementor-widget elementor-widget-heading\" data-id=\"2d3b8d7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">1. Locate Your Site's .htaccess File\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d0c7f21 elementor-widget elementor-widget-text-editor\" data-id=\"d0c7f21\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To access your site&#8217;s .htaccess file, you&#8217;ll need to be able to connect to your site&#8217;s server via FTP or a tool like cPanel File Manager.<\/p><p>Once you&#8217;ve done that, you should find your .htaccess file in your site&#8217;s root folder, which is the same folder that contains the <strong>wp-admin<\/strong> and <strong>wp-content<\/strong> folders.<\/p><p>Some <a href=\"https:\/\/elementor.com\/blog\/best-wordpress-seo-plugins\/\" target=\"_blank\" rel=\"noopener\">WordPress SEO plugins<\/a> also offer in-dashboard .htaccess editors. For example, if you&#8217;re using Yoast SEO, you can go to <strong>SEO \u2192 Tools \u2192 File Editor<\/strong> to edit your .htaccess file.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-280e68a elementor-widget elementor-widget-menu-anchor\" data-id=\"280e68a\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"step-two\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3eb3628 elementor-widget elementor-widget-heading\" data-id=\"3eb3628\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">2. Make a Backup of Your .htaccess File\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c824829 elementor-widget elementor-widget-text-editor\" data-id=\"c824829\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Redirects can be tricky and one small mistake can result in some or all of your site becoming inaccessible. For that reason, it&#8217;s essential that you back up your existing .htaccess file before making any changes. You can do this by downloading it to your local computer.<\/p><p>That way, if something goes wrong, all you need to do is re-upload <a href=\"https:\/\/elementor.com\/blog\/backup-wordpress\/\" target=\"_blank\" rel=\"noopener\">your backup copy<\/a> and your site will instantly go back to normal.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7ebeee3 elementor-widget elementor-widget-menu-anchor\" data-id=\"7ebeee3\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"step-three\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-91e8177 elementor-widget elementor-widget-heading\" data-id=\"91e8177\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3. Add Your Redirects\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-48a2af8 elementor-widget elementor-widget-text-editor\" data-id=\"48a2af8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Once you&#8217;ve downloaded a backup of your existing .htaccess file, you&#8217;re ready to add your redirects using code, which you can add near the top of your .htaccess file.<\/p><p>Make sure to replace the placeholder URLs with the actual URLs that you want to use:<\/p><p>Redirect 301 \/old-post https:\/\/www.yoursite.com\/new-post<\/p><p>This code snippet redirects visitors to https:\/\/www.yoursite.com\/old-post to https:\/\/www.yoursite.com\/new-post.<\/p><p>Note that, for the URL that triggers the redirect, you only need to enter the part that comes after your domain name.<\/p><p>Later on, we&#8217;ll share some other more complicated types of redirects, like redirecting an entire domain name after you change domains.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8c9a83f elementor-widget elementor-widget-menu-anchor\" data-id=\"8c9a83f\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-plugin\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c440dd2 elementor-widget elementor-widget-heading\" data-id=\"c440dd2\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Redirect a URL With a WordPress Plugin\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3738737 elementor-widget elementor-widget-text-editor\" data-id=\"3738737\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you don&#8217;t want to work directly with your site&#8217;s .htaccess file, a simpler option is to use a WordPress redirection plugin. These plugins let you create and manage your site&#8217;s redirects right from your WordPress dashboard.<\/p><p>There are several quality options, which we&#8217;ll discuss in the next section. However, in this section, we&#8217;ll show you how to set up a redirect using one of the most popular options &#8211; <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">the free 301 Redirects plugin<\/a>. Despite the name, the plugin can help you create other types of redirects beyond 301s, including 302 and 307 redirects.<\/p><p>Once you install and activate the plugin, you can go to <strong>Settings \u2192 301 Redirects<\/strong> to start adding redirects.<\/p><p>Here, you&#8217;ll see a table with three options:<\/p><ol><li>You can use the drop-down to choose the redirect type, which is 301 by default.<\/li><li>In the <strong>Redirect From<\/strong> field, you can enter the URL that you want to trigger the redirect. For example, to trigger a redirect on <strong>yoursite.com\/best-plugins-2020<\/strong>, you would enter <strong>best-plugins-2020<\/strong> in the box.<\/li><li>In the <strong>Redirect To<\/strong> field, you can choose where you want to send visitors to. You can either choose existing content on your site or enter any custom URL.<\/li><\/ol><p>Once you&#8217;ve added the information, click <strong>Save<\/strong> and your redirect will be live:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce88f1c elementor-widget elementor-widget-image\" data-id=\"ce88f1c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/elementor\/thumbs\/wordpress-301-redirects-plugin-r4q705xbpx8jnsb98z2ys7tve3bmvyz3kvbnw2hglg.png\" title=\"wordpress-301-redirects-plugin\" alt=\"wordpress-301-redirects-plugin\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-97131e5 elementor-widget elementor-widget-text-editor\" data-id=\"97131e5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You can repeat the process to create additional redirects.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c418c5 elementor-widget elementor-widget-menu-anchor\" data-id=\"7c418c5\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"best-plugin\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17c04e4 elementor-widget elementor-widget-heading\" data-id=\"17c04e4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Best WordPress Redirect Plugins\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-64fa4bc elementor-widget elementor-widget-text-editor\" data-id=\"64fa4bc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Here are some of the best plugins to help you create WordPress redirects&#8230;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39384e9 elementor-widget elementor-widget-heading\" data-id=\"39384e9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Redirection\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d25013 elementor-widget elementor-widget-image\" data-id=\"3d25013\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/elementor\/thumbs\/redirect-plugins-1-redirections-r4q74aftpqvum6bj5ra0q6cp8yzmo5cotaedpsdaq0.png\" title=\"redirect-plugins-1-redirections\" alt=\"redirect-plugins-1-redirections\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca9220d elementor-widget elementor-widget-text-editor\" data-id=\"ca9220d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">Redirection<\/a> is the most popular WordPress redirect plugin at WordPress.org, where it&#8217;s active on over one million sites.\u00a0<\/p><p>It has a much larger feature list than the 301 Redirects plugin that we showed you in the tutorial above, which can make it a better option in some situations.<\/p><p>For example, it can automatically set up redirects if you change a URL on your site and it also lets you use Regex to set up more complicated types of redirects.<\/p><p>However, if you just want a simple solution to redirect a few URLs, it might be a little overkill for your needs. That&#8217;s why we chose to showcase the 301 Redirects plugin.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e586085 elementor-widget elementor-widget-heading\" data-id=\"e586085\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">301 Redirects\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-81fb2f4 elementor-widget elementor-widget-image\" data-id=\"81fb2f4\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/elementor\/thumbs\/wordpress-301-redirects-plugin-r4q705xbpx8jnsb98z2ys7tve3bmvyz3kvbnw2hglg.png\" title=\"wordpress-301-redirects-plugin\" alt=\"wordpress-301-redirects-plugin\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a858ea6 elementor-widget elementor-widget-text-editor\" data-id=\"a858ea6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We already showed you <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">the 301 Redirects plugin<\/a> in the tutorial above, we&#8217;re just adding it again to remind you that it&#8217;s one of the top options for WordPress redirects.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c0a86f9 elementor-widget elementor-widget-heading\" data-id=\"c0a86f9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Safe Redirect Manager\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-af661fd elementor-widget elementor-widget-image\" data-id=\"af661fd\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/elementor\/thumbs\/redirect-plugins-2-safe-redirect-manager-r4q6zifcz2cdlj9e26xajvrcjgjgjjdt5n0iw5gc42.png\" title=\"redirect-plugins-2-safe-redirect-manager\" alt=\"redirect-plugins-2-safe-redirect-manager\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-66909e9 elementor-widget elementor-widget-text-editor\" data-id=\"66909e9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/wordpress.org\/plugins\/safe-redirect-manager\/\" target=\"_blank\" rel=\"noopener\">Safe Redirect Manager<\/a> is a free redirect plugin from 10up, a well-known WordPress development agency. It offers a <a href=\"https:\/\/elementor.com\/blog\/how-to-speed-up-wordpress-website\/\" target=\"_blank\" rel=\"noopener\">performance-boosting<\/a> approach that stores your redirects as <a href=\"https:\/\/elementor.com\/blog\/wordpress-custom-post-types\/\" target=\"_blank\" rel=\"noopener\">custom post types in WordPress<\/a>.<\/p><p>You can choose from different redirect codes and even add your own status codes using a developer filter. You can also set up one-off redirects or use wildcards or Regex to set up broader redirects.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d960cbb elementor-widget elementor-widget-menu-anchor\" data-id=\"d960cbb\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-set-up\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fe46e83 elementor-widget elementor-widget-heading\" data-id=\"fe46e83\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Set Up Server-Level Redirects\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-29b7496 elementor-widget elementor-widget-text-editor\" data-id=\"29b7496\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In addition to the one-off redirects that we&#8217;ve focused on so far, you also might have situations where you need to set up server-level redirects that affect every single URL on your site. The three most common scenarios here are:<\/p><ul><li><strong>HTTP to HTTPS &#8211; <\/strong>you can send all traffic to the HTTPS version of the content that a user requested.<\/li><li><strong>non-www to www (or vice versa)<\/strong> &#8211; you can send all traffic to the www or non-www version of the content that a user requested.<\/li><li><strong>Changing domain names<\/strong> &#8211; you can redirect all traffic to the old domain to the same piece of content on the new domain.<\/li><\/ul><p>For example, with one rule, you can set it up so that:<\/p><ul><li>Someone who visits <strong>http:\/\/youroldsite.com\/post-a <\/strong>goes to <strong>https:\/\/yournewsite.com\/post-a<\/strong><\/li><li>Someone who visits <strong>http:\/\/youroldsite.com\/post-b <\/strong>goes to <strong>https:\/\/yournewsite.com\/post-b<\/strong><\/li><li>Etc.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-585aa54 elementor-widget elementor-widget-menu-anchor\" data-id=\"585aa54\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-redirect-to-https\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b32196c elementor-widget elementor-widget-heading\" data-id=\"b32196c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">How To Redirect HTTP To HTTPS\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f68abcd elementor-widget elementor-widget-text-editor\" data-id=\"f68abcd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To redirect all HTTP traffic to HTTPS, you can either use the .htaccess method that we showed you above or a dedicated plugin.<\/p><p>For the .htaccess method, you need to add the following snippet:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c78fced elementor-widget elementor-widget-code-highlight\" data-id=\"c78fced\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp>RewriteEngine On\nRewriteCond %{HTTPS} !=on\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]\nHeader always set Content-Security-Policy \"upgrade-insecure-requests;<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a5c06d7 elementor-widget elementor-widget-text-editor\" data-id=\"a5c06d7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>As for plugins, two good free options are:<\/p><ul><li><a href=\"https:\/\/wordpress.org\/plugins\/really-simple-ssl\/\" target=\"_blank\" rel=\"noopener\">Really Simple SSL<\/a><\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/wp-force-ssl\/\" target=\"_blank\" rel=\"noopener\">WP Force SSL &amp; HTTPS SSL Redirect<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9fd1908 elementor-widget elementor-widget-menu-anchor\" data-id=\"9fd1908\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-redirect-non-www\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f96e4e elementor-widget elementor-widget-heading\" data-id=\"7f96e4e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">How To Redirect WWW To Non-WWW (or Vice Versa)\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-41410c4 elementor-widget elementor-widget-text-editor\" data-id=\"41410c4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To set up these redirects, you can use your site&#8217;s .htaccess file:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c81a888 elementor-widget elementor-widget-text-editor\" data-id=\"c81a888\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>www to non-www:<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f85acad elementor-widget elementor-widget-code-highlight\" data-id=\"f85acad\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp>RewriteEngine On\nRewriteCond %{HTTP_HOST} ^www.yoursite.com [NC]\nRewriteRule ^(.*)$ https:\/\/yoursite.com\/$1 [L,R=301]<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14934f8 elementor-widget elementor-widget-text-editor\" data-id=\"14934f8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>non-www to www:<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c1b79e6 elementor-widget elementor-widget-code-highlight\" data-id=\"c1b79e6\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp>RewriteEngine On\nRewriteCond%{HTTP_HOST} ^yoursite.com [NC]\nRewriteRule ^(.*)$ https:\/\/www.yoursite.com\/$1 [L,R=301,NC]<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b6f2324 elementor-widget elementor-widget-menu-anchor\" data-id=\"b6f2324\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how-to-entire-domain\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2562e87 elementor-widget elementor-widget-heading\" data-id=\"2562e87\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">How To Redirect an Entire Domain\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a0e0cca elementor-widget elementor-widget-text-editor\" data-id=\"a0e0cca\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To redirect your old domain to your new domain after changing domains, you can add the following .htaccess rule <strong>to your old site&#8217;s .htaccess file <\/strong>(<strong>not<\/strong> to your new site &#8211; you don&#8217;t need to add any rules on your new site):<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8495046 elementor-widget elementor-widget-code-highlight\" data-id=\"8495046\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp>#Options +FollowSymLinks\nRewriteEngine on\nRewriteRule (.*) https:\/\/newsite.com\/$1 [R=301,L]<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b1db95e elementor-widget elementor-widget-heading\" data-id=\"b1db95e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Start Using WordPress Redirects Today and Improve Your Website<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e31b1a6 elementor-widget elementor-widget-text-editor\" data-id=\"e31b1a6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>It&#8217;s important to understand how to use redirects so that you can offer your human visitors a good experience and also maximize your SEO efforts.<\/p><p>In most situations when <a href=\"https:\/\/elementor.com\/blog\/create-blog-wordpress\/\" target=\"_blank\" rel=\"noopener\">creating a blog<\/a> or <a href=\"https:\/\/elementor.com\/blog\/create-website-with-wordpress\/\" target=\"_blank\" rel=\"noopener\">a website<\/a>, you&#8217;ll only need to work with 301 redirects, but the other types of redirects also have their own niche use cases (though mainly only for developers).<\/p><p>To set up redirects, you can use your site&#8217;s .htaccess file (if your host&#8217;s web server is Apache) or one of the WordPress redirect plugins that we detailed.<\/p><p>Still, have any questions about how to use redirects on WordPress? Leave a comment!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Redirecting visitors from one page on your website to another is an important part of website maintenance and there could be a number of reasons for doing it. Explore them all, and learn how to create redirects on your WordPress website.<\/p>\n","protected":false},"author":188873,"featured_media":47729,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[45,43],"tags":[79],"marketing_persona":[51],"marketing_intent":[48],"class_list":["post-47680","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-wordpress","tag-build"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Redirect URLs in WordPress \u2502Elementor<\/title>\n<meta name=\"description\" content=\"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Redirect URLs in WordPress \u2502Elementor\" \/>\n<meta property=\"og:description\" content=\"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/elemntor\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-20T11:59:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sergei Davidov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@elemntor\" \/>\n<meta name=\"twitter:site\" content=\"@elemntor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergei Davidov\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\"},\"author\":{\"name\":\"Sergei Davidov\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9\"},\"headline\":\"How To Redirect URLs in WordPress\",\"datePublished\":\"2021-01-20T11:59:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\"},\"wordCount\":2323,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png\",\"keywords\":[\"Build\"],\"articleSection\":[\"Development\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\",\"url\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\",\"name\":\"How To Redirect URLs in WordPress \u2502Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png\",\"datePublished\":\"2021-01-20T11:59:20+00:00\",\"description\":\"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/elementor.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\/\/elementor.com\/blog\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Redirect URLs in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/blog\/#website\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"name\":\"Elementor\",\"description\":\"Website Builder for WordPress\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/blog\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/elemntor\/\",\"https:\/\/x.com\/elemntor\",\"https:\/\/www.instagram.com\/elementor\/\",\"https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1\",\"https:\/\/en.wikipedia.org\/wiki\/Elementor\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9\",\"name\":\"Sergei Davidov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g\",\"caption\":\"Sergei Davidov\"},\"description\":\"Sergei Davidov is a content creator at Elementor. His favorite topics are gadgets, advances in science, new apps and software solutions. He enjoys spicy food, reading books and listening to elevator music.\",\"url\":\"https:\/\/elementor.com\/blog\/author\/sdavidov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Redirect URLs in WordPress \u2502Elementor","description":"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.","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:\/\/elementor.com\/blog\/redirect-url-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How To Redirect URLs in WordPress \u2502Elementor","og_description":"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.","og_url":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/","og_site_name":"Blog","article_publisher":"https:\/\/www.facebook.com\/elemntor\/","article_published_time":"2021-01-20T11:59:20+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png","type":"image\/png"}],"author":"Sergei Davidov","twitter_card":"summary_large_image","twitter_creator":"@elemntor","twitter_site":"@elemntor","twitter_misc":{"Written by":"Sergei Davidov"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/"},"author":{"name":"Sergei Davidov","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9"},"headline":"How To Redirect URLs in WordPress","datePublished":"2021-01-20T11:59:20+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/"},"wordCount":2323,"commentCount":0,"publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"image":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png","keywords":["Build"],"articleSection":["Development","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/","url":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/","name":"How To Redirect URLs in WordPress \u2502Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png","datePublished":"2021-01-20T11:59:20+00:00","description":"Redirecting visitors from one page to another is an important part of website maintenance. Explore all the reasons for redirects and how to create them.","breadcrumb":{"@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/blog\/redirect-url-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#primaryimage","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/Redirect-URLs-in-WordPress-01-1.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/elementor.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/elementor.com\/blog\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"How To Redirect URLs in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/blog\/#website","url":"https:\/\/elementor.com\/blog\/","name":"Elementor","description":"Website Builder for WordPress","publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/blog\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/elemntor\/","https:\/\/x.com\/elemntor","https:\/\/www.instagram.com\/elementor\/","https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1","https:\/\/en.wikipedia.org\/wiki\/Elementor"]},{"@type":"Person","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9","name":"Sergei Davidov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g","caption":"Sergei Davidov"},"description":"Sergei Davidov is a content creator at Elementor. His favorite topics are gadgets, advances in science, new apps and software solutions. He enjoys spicy food, reading books and listening to elevator music.","url":"https:\/\/elementor.com\/blog\/author\/sdavidov\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/47680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/users\/188873"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/comments?post=47680"}],"version-history":[{"count":2,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/47680\/revisions"}],"predecessor-version":[{"id":93754,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/47680\/revisions\/93754"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media\/47729"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media?parent=47680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/categories?post=47680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/tags?post=47680"},{"taxonomy":"marketing_persona","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_persona?post=47680"},{"taxonomy":"marketing_intent","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_intent?post=47680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}