Economicalhost · Knowledge Base
Knowledge Base › Domains & DNS › How to Set Up Redirects in cPanel
Domains & DNS

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

  1. Open Domains → Redirects in cPanel.
  2. Choose the type: Permanent (301) for anything permanent — page renamed, domain consolidated; Temporary (302) only for short-lived situations.
  3. Pick the domain and optionally type the path after the / box (e.g. old-page.html).
  4. Enter the full destination URL including https:// (e.g. https://yourdomain.com/new-page.html).
  5. www handling: choose "Redirect with or without www." so both forms behave identically.
  6. 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).
  7. 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.