Most of the website owners make one of biggest mistakes is the incorrect use of web redirects. For the non-technical people or for the beginners in SEO industry, it may seem a different word. Redirects just means to direct something to a different location or through a different route. Redirecting of a webpage means that you are going to assign a new web address to a URL. It is essential to use right redirect code on the webpage, otherwise you may face may kinds of massive impacts on your website rankings, traffic and revenue. There are many reasons when you usually use redirect:
• If web URL is broken or your website URL does not work.
• Your website or Domain is Closed.
• If you want that you have a new webpage and you want people to visit it instead of older one.
There are different types of redirect we use in SEO professional, but mostly SEO experts use two major kinds of redirects which are 301 redirect and 302 redirect. Now we will discuss about these redirects:
301 Redirect: 301 redirect is also known as “Permanent Redirect”. This type of redirect tells the search engines that the webpage or content has moved to a new location. Permanent redirect is there to mean that all the qualities of the redirected webpage will be passed to the diversion page. This includes webpage PageRank, your webpage MoZRank, your webpage Page Authority and Traffic Value of your webpage. By using this redirect method the old page will be removed from the Search Engine`s Index an
It’s as simple as putting this .php code into your public_html folder in the root folder of your website.
$redirectlink = ‘http://www.puttheredirectedwebpageurlhere.com‘;
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’); header (‘Location: ‘.$redirectlink); exit;
?>d the new page will replace the old one.
302 Redirect: This kind of redirect is also known as Temporary Redirect. This type of redirect is generally used when you want to redirect your website visitors to another webpage, but you are planning to bring the redirected page back after some time. This redirect generally does not pass any qualities of your old page to the new page.