InMotion Hosting Support Center

Redirects are used for a variety purposes and it is important that you use the appropriate redirect type for your website when it becomes necessary to use them. The two types of redirects are:

  • 301 redirect - used for permanent changes to the site URL
  • 302 redirect - used for temporary changes to the site URL

When you should use a 302 redirect

When to use a 301 redirect over a 302 redirect

When would you use a 301 over a 302 redirect. Anytime that you need to make a permanent change to the URL and you want to make sure that search engines are made aware of the change, then you want use a 301 redirect. For example, if you purchased an SSL Certificate for your website and you need to implement it, then your URL will change from HTTP to HTTPS.

When to use a 302 redirect over a 301 redirect

The condition in which you use a 302 redirect over a 301 redirect is when the change is only temporary. This notification prevents search engines from changing search results for that particular URL. A good example of this is if you are testing a change on your website when it is accessible through the internet. A change of a live website page may alter the search results of the site is crawled by the search engine. In this case you do not want the search engine to note that change. The use of a 302 redirect indicates to the search engine that the change is only temporary.

How to Create a 302 redirect in cPanel

  1. Login to cPanel
  2. Domain section Go to the Domains section and then click on Redirects
  3. Select 302 redirect Click on the drop-down menu to select the Temporary (302)
  4. Click on Add Fill in the information for the re-direct, then click on Add in order to add the re-direct.

When the redirect is in place make sure that you complete the process for which are using the temporary change of URL. Remember that the change should remain temporary. The redirect should be removed once the need for the temporary URL is complete. For more information please see the tutorial on Setting up 301 Redirects.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!