How to Set Up Redirects in cPanel
Redirects forward visitors (and search engines) from one URL to another. Use a 301 for permanent moves so SEO value transfers to the new address.
Step-by-step
- Open Domains → Redirects in cPanel.
- Choose the type: Permanent (301) for anything permanent — page renamed, domain consolidated; Temporary (302) only for short-lived situations.
- Pick the domain and optionally type the path after the / box (e.g. old-page.html).
- Enter the full destination URL including https:// (e.g. https://yourdomain.com/new-page.html).
- www handling: choose "Redirect with or without www." so both forms behave identically.
- Wild Card Redirect — tick when redirecting a whole folder/domain and you want /anything appended to the destination (e.g. alias.com/page → main.com/page).
- Click Add, then test in a private browser window (normal windows may cache old redirects).
💡 Good to know
- Redirecting an alias domain to your main domain with a 301 is the SEO-correct way to run multiple domains.
- Redirects created here are written into .htaccess — avoid editing the same rules by hand simultaneously.
- Chain redirects (A→B→C) slow visitors and dilute SEO; always point old URLs directly at the final destination.