Skip to content

Forum Archive

What is 301 and 302...
 
Notifications
Clear all

What is 301 and 302 Redirects of a page?

11 Posts
8 Users
1 Likes
368 Views
Gok26
(@gok26)
Posts: 250
Member Customer
Topic starter
 

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

 
Posted : 11/06/2021 5:46 pm
Shah Awais reacted
JayDollar
(@jaydollar)
Posts: 1885
Member Customer
 

Nice Article bro,

It was very informative sir

I truly appreciate

 
Posted : 12/06/2021 2:17 pm
Gok26
(@gok26)
Posts: 250
Member Customer
Topic starter
 

@jaydollar

Thanks bro! Glad you find it helpful..

 
Posted : 14/06/2021 7:26 am
Manoj_R
(@manoj_r)
Posts: 1144
Member Customer
 
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

although I belong to technical background it's a quick revision for me...

 
Posted : 14/06/2021 3:27 pm
Shah Awais
(@shahawais)
Posts: 678
Moderator Customer
 
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

Very informative, keep it up!

 
Posted : 15/06/2021 8:44 am
Hisham Abbah
(@hisham)
Posts: 262
Member Customer
 
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

Thank you, nice article bro.

 
Posted : 15/06/2021 9:51 am
Adilkhan
(@adilkhan)
Posts: 2112
Moderator/Level 8 Member Customer
 

Thanks For the info

 
Posted : 16/06/2021 2:51 pm
Ihthisham
(@ihthisham-ahmed)
Posts: 1751
Noble Member
 
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

Thank you for the valuable information. And keep providing value.

 
Posted : 20/06/2021 5:25 am
JayDollar
(@jaydollar)
Posts: 1885
Member Customer
 
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

From my experience, sometimes after solving a captcha on a site, they will automatically redirect you to your desired page.

 
Posted : 28/07/2021 10:47 pm
Muhammad aown
(@muhammad-aown)
Posts: 6735
Member Customer
 
Posted by: @manoj_r
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

although I belong to technical background it's a quick revision for me...

Because if we don't revise our skills, we can loose them very quickly.

 
Posted : 01/08/2021 5:57 am
Muhammad aown
(@muhammad-aown)
Posts: 6735
Member Customer
 
Posted by: @hisham
Posted by: @gok26

For the non-technical, a 301 and 302 redirect sounds unfamiliar.

Redirect” definition from the web: to direct (someone or something) to a different place or by a different route.

In simple terms, redirection represents assigning a new URL to a page. But it's not the case for everytime when people use redirection, there might be other reasons like change the design, the coding, the navigation, etc.. Also, it depends on what purpose you're redirecting a particular page.

You usually redirect a page for the following reasons:

  • The URL is broken or it doesn’t work.
  • The webpage/site is no longer active.
  • You have a new webpage/site that you want people to visit instead of the old one.
  • You’re A/B testing a new webpage in terms of design or functionality.
  • You’re fixing a webpage and you want to temporarily make a detour for your users for continual website experience.

It can be done by adding .php code to your public_html folder in your hosting,

 

<?php
$redirectlink = ‘ http://www.redirectwebpageurl.com‘; 
//do not edit below here
header (‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: ‘.$redirectlink);
exit;
?>

This code will use a 301 redirect the page to the URL that you desire. The filename of this .php should be the URL slug of the page you want to redirect.

301 Redirect

A 301 redirect, or also known as a permanent redirect, should be put in place to permanently redirect a page. The word ‘permanent’ implies that all qualities of the redirected page will be passed on to the new page.

That includes:

  • PageRank
  • MozRank
  • Page Authority
  • Traffic Value

The old page will be removed from Google’s index and the new one will replace it.

302 Redirect

A 302 redirect, or also known as a temporary redirect, should be put in place if you want to redirect your site visitors into another webpage but you plan to bring the redirected page back after some time. This redirect will not pass all the qualities to the new page, however it will maintain the PageRank, MozRank, Page Authority and Traffic Value.

It’s quite uncommon to use a 302 redirect. Since, it will impact your site’s search engine visibility.

In most cases, SEO specialists don’t use 302 redirects when fixing the on-site qualities of a website. Instead, a 302 redirect is often used when they want to test a new page for client feedback but they don’t want to damage or change the old page’s rankings and history.

Thank you, nice article bro.

If a post increases your knowledge, you can show that by liking no need to reply 

 
Posted : 01/08/2021 5:57 am
Share: