<span style="font-weight: 400;">‘301’ might not ring any bells for most people unless you are a web developer or an SEO professional. </span>

<span style="font-weight: 400;">But we often come across the ‘404 Page Not Found’ during our browsing sprees. It is an HTTP standard response code just like the ‘301’ we are going to delve further into.</span>

Before we move on, if you need any help regarding web development, talk to us. We've designed and built websites for some of the biggest businesses and projects from all over the world. <a href="https://vividreal.com/web-development/">Check us out here</a>.

<span style="color: #00ccff;"><b>What is 301 redirect?</b></span>

<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>

<span style="font-weight: 400;">We often see 301 redirect in action. For instance, when you type in '</span><span style="font-weight: 400;">www.gmail.com'</span><span style="font-weight: 400;"> into the address bar, the URL shown after redirection will be 'mail.google.com'.</span>

<span style="color: #00ccff;"><b>How does it impact SEO?</b></span>

<span style="font-weight: 400;">Having said all that about 301 you might wonder what significance it has for a marketer.</span>

<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>

<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>

<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>

<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>

<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>

<span style="color: #00ccff;"><b>When should you use 301 redirect?</b></span>

<span style="color: #00ccff;"><strong>Re-branding or renaming of website</strong></span>

<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>

<span style="color: #00ccff;"><strong>Website restructuring</strong></span>

<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>

<span style="color: #00ccff;"><strong>Migration from HTTP to HTTPS</strong></span>

<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>

<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>

<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>

<span style="color: #00ccff;"><b>How to implement 301 redirect?</b></span>

<span style="font-weight: 400;">The implementation part of 301 redirect is quite easy compared to complexities involved in site migration. </span>

<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>

<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>

<span style="font-weight: 400;">The code for executing the 301 redirect is written into this file by the developer. </span>

To make this clear, let us take a look at the following example:

<span style="font-weight: 400;">You want to redirect the page '</span><span style="font-weight: 400;">http://www.sample.com/oldpage.html</span><span style="font-weight: 400;"> ' to its new URL '</span><span style="font-weight: 400;">http://www.sample.com/newpage.html'.</span>

<span style="font-weight: 400;">The following code will be executed:</span>

<span style="font-weight: 400;"><span style="color: #00ccff;"><strong><em>redirect 301 /oldpage.html</em></strong></span>
<span style="color: #00ccff;"><strong><em>http://www.sample.com/newpage.html</em></strong></span>
</span>

<span style="font-weight: 400;">Redirection on CMS platforms such as WordPress is really simple with the help of the Redirection Plugin. </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>

<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>

<span style="font-weight: 400;">We have our mails and deliveries sent to our new address when we move to a new house, don't we?</span>

Talk to us if you're looking to get a new website, or if you want to revamp your existing one. <a href="https://vividreal.com/web-development/">Check us out here.</a>