{"id":5523,"date":"2019-03-15T10:25:49","date_gmt":"2019-03-15T04:55:49","guid":{"rendered":"https:\/\/vividreal.co.in\/vividreal\/?p=5523"},"modified":"2019-03-15T10:25:49","modified_gmt":"2019-03-15T04:55:49","slug":"what-is-a-301-redirect","status":"publish","type":"post","link":"https:\/\/vividreal.co.in\/vividreal\/what-is-a-301-redirect\/","title":{"rendered":"What is a 301 Redirect?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">\u2018301\u2019 might not ring any bells for most people unless you are a web developer or an SEO professional. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">But we often come across the \u2018404 Page Not Found\u2019 during our browsing sprees. It is an HTTP standard response code just like the \u2018301\u2019 we are going to delve further into.<\/span><\/p>\n<p>Before we move on, if you need any help regarding web development, talk to us. We&#8217;ve designed and built websites for some of the biggest businesses and projects from all over the world. <a href=\"https:\/\/vividreal.co.in\/vividreal\/web-development\/\">Check us out here<\/a>.<\/p>\n<p><span style=\"color: #00ccff;\"><b>What is 301 redirect?<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400;\">301 is the HTTP Status code for Moved Permanently and a 301 Redirect lets the search engine crawlers know that a web page has been moved to a different URL other than the one that was typed into the web browser or selected from the search result page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We often see 301 redirect in action. For instance, when you type in &#8216;<\/span><span style=\"font-weight: 400;\">www.gmail.com&#8217;<\/span><span style=\"font-weight: 400;\"> into the address bar, the URL shown after redirection will be &#8216;mail.google.com&#8217;.<\/span><\/p>\n<p><span style=\"color: #00ccff;\"><b>How does it impact SEO?<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Having said all that about 301 you might wonder what significance it has for a marketer.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Search engine ranking and domain authority are of the essence for any website. Therefore, in order to upkeep these while shifting from one URL to another, it is imperative that this move is carried through a 301 redirect.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Also, they are essential for preserving the link juice from inbound links to the original page. Link juice refers to the value that passes from other sites into your site via backlinking.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In addition, a 301 redirect can help with maintaining the user experience of the visitor when the URL is changed. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Landing on a 404 error page indicates a bad user experience unless the users are directed promptly to the new URL.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As mentioned earlier, this error is shown when the page is not found. The search engine deindexes the page that triggers a 404 error a few times and removes it from the search result page.<\/span><\/p>\n<p><span style=\"color: #00ccff;\"><b>When should you use 301 redirect?<\/b><\/span><\/p>\n<p><span style=\"color: #00ccff;\"><strong>Re-branding\u00a0or renaming of website<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Many brands change their brand identity or website name into something that better reflects their work and values. When a new website is set up for the brand, every page from the old website should be redirected to the corresponding relevant page in the new site. This is crucial for maintaining the SEO ranking and user experience for the traffic coming into the new URL.<\/span><\/p>\n<p><span style=\"color: #00ccff;\"><strong>Website restructuring<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sometime you might have to rearrange the structure of your website like add new categories, delete some pages etc. When such changes are made a 301 redirect will divert the traffic from deleted pages to the new target URL.<\/span><\/p>\n<p><span style=\"color: #00ccff;\"><strong>Migration from HTTP to HTTPS<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">HTTPS denotes a secure and trustworthy website. The Google search engine now prefers HTTPS site over HTTP and they are better ranked in SERPs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Earlier, a 302 redirect resulted in a 15% loss in page rank. This deterred webmasters from moving to HTTPS. Now, Google has announced that it allows all the page rank of the HTTP site to pass on to the new secure site.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">But there is a catch here. The migration process is immensely complicated and if not done properly can spew errors that might eventually be detrimental to the page ranking. <\/span><\/p>\n<p><span style=\"color: #00ccff;\"><b>How to implement 301 redirect?<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400;\">The implementation part of 301 redirect is quite easy compared to complexities involved in site migration. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">First, the pages that need to be permanently redirected need to be identified. This, along with their corresponding new address is handed over to the developer who then codes it into the .htaccess file. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">.htaccess file is a configuration file that resides in the root directory of the website and is used to alter the functionality and features of web servers that run on the Apache Web Server software.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The code for executing the 301 redirect is written into this file by the developer. <\/span><\/p>\n<p>To make this clear, let us take a look at the following example:<\/p>\n<p><span style=\"font-weight: 400;\">You want to redirect the page &#8216;<\/span><span style=\"font-weight: 400;\">http:\/\/www.sample.com\/oldpage.html<\/span><span style=\"font-weight: 400;\">\u00a0&#8216; to its new URL &#8216;<\/span><span style=\"font-weight: 400;\">http:\/\/www.sample.com\/newpage.html&#8217;.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The following code will be executed:<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #00ccff;\"><strong><em>redirect 301 \/oldpage.html<\/em><\/strong><\/span><br \/>\n<span style=\"color: #00ccff;\"><strong><em>http:\/\/www.sample.com\/newpage.html<\/em><\/strong><\/span><br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Redirection on CMS platforms such as WordPress is really simple with the help of the Redirection Plugin.\u00a0<\/span><span style=\"font-weight: 400;\">All you need to do is install the plugin and define the source URL and target URL. The type of redirection is set as 301 by default. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">A 301 redirect is the logical thing to do to ensure there is no traffic loss due to permanent change to the URL. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">We have our mails and deliveries sent to our new address when we move to a new house, don&#8217;t we?<\/span><\/p>\n<p>Talk to us if you&#8217;re looking to get a new website, or if you want to revamp your existing one. <a href=\"https:\/\/vividreal.co.in\/vividreal\/web-development\/\">Check us out here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2018301\u2019 might not ring any bells for most people unless you are a web developer or an SEO professional. But we often come across the \u2018404 Page Not Found\u2019 during our browsing sprees. It is an HTTP standard response code just like the \u2018301\u2019 we are going to delve further into. Before we move on, [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":5535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-5523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"_links":{"self":[{"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/posts\/5523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/comments?post=5523"}],"version-history":[{"count":0,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/posts\/5523\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/media\/5535"}],"wp:attachment":[{"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/media?parent=5523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/categories?post=5523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vividreal.co.in\/vividreal\/wp-json\/wp\/v2\/tags?post=5523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}