Use cPanel's Redirects interface when visitors to one URL should be sent to another URL.
- Open cPanel → Domains → Redirects.
- Select Permanent (301) or Temporary (302).
- Select the source domain or All Public Domains.
- If redirecting only a path, enter that path in the
/field. - Enter the full destination URL, including its protocol such as
https://. - Choose the desired
www.behavior. - Enable Wild Card Redirect only if you specifically need path-to-path matching.
- Click Add.
Test the source URL in a private/incognito browser session after creating the redirect.