A redirect automatically sends a visitor from one URL to another. Useful when you’ve changed domains, merged sites, or want to redirect www to non-www (or the other way around).
\n
Redirect types
\n
- 301 (permanent) — for changing a domain forever. Passes SEO weight.
- 302 (temporary) — for a temporary move (campaign, site under repair).
\n
How to set it up in cPanel
\n
- Log into cPanel
- Open Domains → Redirects
- Pick the type (Permanent 301 or Temporary 302)
- In the https?://(www.)? field pick the old domain
- In Redirects to enter the new address
- Optional: Redirect with or without www
- Click Add
\n
The redirect applies immediately. Verify with curl -I https://old-domain.tj — it should return status 301 and the Location of the new address.
\n
If the domain is parked and not on hosting, set up the redirect via your DNS provider or Navju Cloud DNS.
