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
- Sign in to cPanel and open Domains > Redirects.
- Choose Temporary (302) for a temporary change or initial test, or Permanent (301) for a lasting move.
- Select the specific source domain. Use All Public Domains only if the redirect should apply to every listed domain.
- Enter the source path if only part of the website should redirect.
- In Redirects to, enter the complete destination URL, including
https://where applicable. - Choose whether the source should redirect with
www, without it, or both. - 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.