A redirect sends visitors from one website address to another. cPanel can create a redirect for a domain or a particular path without editing the website’s pages.

Add the redirect

  1. Sign in to cPanel and open Domains > Redirects.
  2. Choose Temporary (302) for a temporary change or initial test, or Permanent (301) for a lasting move.
  3. Select the specific source domain. Use All Public Domains only if the redirect should apply to every listed domain.
  4. Enter the source path if only part of the website should redirect.
  5. In Redirects to, enter the complete destination URL, including https:// where applicable.
  6. Choose whether the source should redirect with www, without it, or both.
  7. Select Wild Card Redirect only when paths should carry across to the destination, then click Add.

Test the result

Open the source address and representative pages in a private browser window. Check for loops and missing destination pages before making a test redirect permanent.

An HTTPS source still needs a valid certificate before the browser can follow the redirect. Previously cached permanent redirects may affect your test.

Review existing redirects and application rules if the result is unexpected.