Skip to main content

How to Create a Temporary 302 Redirect in cPanel

You can create a temporary 302 redirect to automatically send visitors from one URL to another. This is commonly used for maintenance pages, temporary promotions, or moving content temporarily within a site.

You can create a temporary 302 redirect to automatically send visitors from one URL to another. This is commonly used for maintenance pages, temporary promotions, or moving content temporarily within a site.

Before you begin

You will need:

  • A cPanel account

  • The source URL (where the user is currently)

  • The destination URL (where the user should be sent)

Create a Temporary 302 Redirect

  1. Log in to your cPanel account.

  2. Under the Domains section, select Redirects.

  3. Choose the Type of redirect from the dropdown menu.

  4. Select Temporary (302) from the options.

  5. Enter the 1. Redirect part (the path of the page you want to redirect).

  6. Enter the 2. Redirect to (the full destination URL).

  7. Select the 3. Click here to redirect onit option if you want to provide a link for users to click if the automatic redirect fails.

  8. Select the appropriate Domain from the dropdown menu.

  9. Select the Redirect option (usually "Redirect with or without www").

  10. Click Add.

Confirm the result

  • Navigate to the source URL in a web browser.

  • The browser should automatically redirect you to the destination URL.

  • You can verify the redirect type by using a tool like "Redirect Checker" or by checking the HTTP header of the page.

Limitations

A 302 redirect is temporary and does not affect the search engine ranking of the original URL. If you need to move a page permanently, use a 301 redirect instead.

Did this answer your question?