When to Create a 302 Redirect Updated on July 18, 2023 by InMotion Hosting Contributor 1 Minutes, 44 Seconds to Read 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 Login to cPanel Go to the Domains section and then click on Redirects Click on the drop-down menu to select the Temporary (302) Fill in the information for the re-direct, then click on Add in order to add the redirect. 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. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How To Create a PHP Redirect (301, 302, and Dynamic Redirect Examples) Connect to SFTP for Shared Hosting Accounts Using FileZilla FTP Basics for Dedicated Servers How to Install Jekyll and Launch a New Site How to Host AI-Prompt Generated Websites on Shared Hosting What is your default PHP.ini file? Getting Started Guide: FTP Configuring your site in WS_FTP Schedule Social Media Posts With Buffer FTP Error – 421 Too Many Connections