As a permanent redirect, 301 is only for sites that have permanently moved to a new domain name. For example, to move a website with high search engine rankings and traffic from, example A.greypanel.com permanently to B.greypanel.com, you can use a 301 redirect.
Users who key in A.greypanel.com in their browsers will automatically be redirected to B.greypanel.com. The search engine rankings of A.greypanel.com will also be transferred to B.greypanel.com.
Since the search engine rankings can be quickly and easily transferred to the new domain while transferring traffic at the same time, a 301 redirect is considered the most effective and SEO-friendly way to redirect.
Common 301 redirect situations:
1.When your website has moved to a new domain name, and you want the whole process to be seamless.
2.When users access your home page through multiple domain names. For instance, if you wish for users accessing the following URLs, http://A.greypanel.com/home, http://home.A.greypanel.com, http://www.A.greypanel.com, and https://www.A.greypanel.com to access the same page, simply select your preferred version as the final destination and use 301 redirects on the others to redirect all traffic to that chosen page.
3.When you want to merge two or more domain names.
Do note that after setting up a 301 redirect, the search engines will take some time to discover and recognize your new domain name. Thus, the search engine rankings transfer to the new domain name will take effect gradually.
302 is a temporary redirect used for temporary transfers of websites to other domain names. The search engine rankings will continue to credit to the original domain name instead of the redirected domain name. Users who key in A.greypanel.com in their browsers will display the contents of B.greypanel.com, at the same time the browser URL will show B.greypanel.com.
302 redirect can be applied in the following situations:
1. When website A.greypanel.com is undergoing maintenance, and you want to transfer traffic to B.greypanel.com temporarily.
2. When you wish to keep A.greypanel.com’s search engine rankings, but at the same time temporarily transfer traffic to other domains.
3. When you want to promote the domain name A.greypanel.com, but for some reason, you need to put the content on the domain name B.greypanel.com temporarily.
A masked redirect is similar to an unmasked redirect, except for the URL shown in the browser. When an unmasked redirect is used, users who key in A.greypanel.com in their browsers will see the redirected URL B.greypanel.com. But for a masked redirect, the browser URL will still show as A.greypanel.com while displaying contents from B.greypanel.com. It is important to note that masked redirects are implemented on the server-side using frameset windows. However, some sites do not allow the use of frameset windows. The use of masked redirects is also extremely bad for SEO.
|Redirect Type||User-Entered Domain||Content Displayed||Domain Displayed in Browser||SEO-Optimized Domain|
|Unmasked Redirect||301 (Permanent Redirect)||A.greypanel.com||B.greypanel.com||B.greypanel.com||B.greypanel.com|
|302 (Permanent Redirect)||A.greypanel.com||B.greypanel.com||B.greypanel.com||A.greypanel.com|
|Masked Redirect||URL frame||A.greypanel.com||B.greypanel.com||A.greypanel.com||Not friendly to SEO|
Redirect based on specific top domains.
Redirect based on specific URLs.
Redirect based on specific user agents.
Redirect based on the country/region of the visit.