Knowledge Base

How To Do a 301 or 302 Redirect for Websites

A redirect allows you to make one website redirect to another website. For example, when mydomainA.com is accessed through a browser, you will automatically be routed to the website content for mydomainB.com. You can have a 301 permanent redirect or a 302 temporary redirect.

What Is a 301 Redirect

A 301 Redirect is also known as a Permanent Redirect.

If you have permanently moved your website to a new address, and you would like to route your visitors to your new address, which is your new domain name, then you can create a 301 Redirect. This permanent redirection also tells search engines, e.g. Google, that you are moving from point A to point B for good. In return, search engines will allow direct ranking and value signals for the new URL, understanding that this is now the permanent home of your website content.

What Is a 302 Redirect

A 302 Redirect is also known as a Temporary Redirect.

If you are doing a major maintenance or applying upgrades for your website, and you would like to temporarily route your website visitors to a different site, then you can create a 302 Redirect. In this way, you can avoid having visitors view an error page while your main website is currently down. Search engines will know that you have only done a temporary redirection and that the value of that page should be kept intact and should not be transferred or indexed along with the other URL.

How to Create a 301/302 Redirect in the cPanel

If your website is currently hosted with the Crazy Domains regular Web Hosting service, then you can create a 301/302 Redirect through the cPanel hosting manager using the steps below:

  1. Click Sign Up / Log In at the top of this page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password, then click Log In.
  4. On the Home page, click the Domains icon or the [ v ] arrow symbol on the right side, then click the Redirects icon.
  5. Under Type, choose between Permanent ( 301 ) or Temporary ( 302 ) from the drop-down menu.

    A 301 Redirect is a permanent redirect. Major search engines recommend this option as it protects your brand, especially if you register domain names that are similar to yours. You can redirect them to your site to prevent cybersquatting.

    A 302 Redirect is a temporary redirect. This is used when you want to temporarily redirect your page to another one. This option is ideal if you want to show your users and search engines that a page will be returning.

  6. Select the Domain or URL you wish to redirect from the second drop-down menu.
  7. Add Path if necessary.
  8. Add the new URL you would like your old one to be redirected to.
  9. Click the Add button.

Congratulations! You have just created a redirect to a website.

Note: For instructions on how to create a 301/302 Redirect for your website that is hosted with the Crazy Domains Windows Web Hosting service through the Plesk hosting manager, click here.

Did you find this article helpful?

* Your feedback is too short