A redirect sends visitors from an old address to a new destination. cPanel can configure either a temporary redirect or a permanent move for a selected domain or path.

Create the redirect

  1. Open Domains > Redirects in cPanel.
  2. Under Add Redirect, select Temporary (302) or Permanent (301). Use a temporary redirect while testing an uncertain destination.
  3. Choose the source domain. All Public Domains applies to all public domains in the account, not just variations of one address.
  4. Enter the path to redirect, or leave it empty for the domain’s root.
  5. Enter the complete destination URL in Redirects to.
  6. Choose the source www behaviour. Enable Wild Card Redirect only if source paths should be appended to the destination.
  7. Click Add.

Test and remove a redirect

Test the source and representative subpages in a private browser window. Check for loops, missing pages and valid certificates on HTTPS addresses.

Redirects do not automatically rewrite visitors’ saved bookmarks. Browsers can cache permanent redirects, so an old result may persist after a change.

To change a cPanel redirect, delete it from Current Redirects, then create the replacement. Remove a temporary redirect when it is no longer needed; it does not expire automatically.