A redirect sends visitors from one address to another automatically.
CREATING A REDIRECT
- In cPanel open Redirects under Domains.
- Choose the type: Permanent (301): the address has moved for good. Search engines transfer ranking. Use this in almost all cases. Temporary (302): a short-term diversion, such as a maintenance page.
- Pick the domain from the dropdown, or All Public Domains.
- In the / field, enter the path to redirect, for example old-page.html. Leave it empty to redirect the whole domain.
- In "Redirects to", enter the full destination URL including https://
- Choose whether to match www, and tick "Wild Card Redirect" to send every path to the matching path on the destination.
- Click Add.
REDIRECTS AND WORDPRESS
WordPress handles its own URLs through .htaccess. Adding cPanel redirects for individual WordPress pages can conflict with its rewrite rules. Use the Redirection plugin inside WordPress for post and page redirects, and keep cPanel redirects for whole-domain moves.
TESTING
Test in a private browsing window. Browsers cache 301 redirects aggressively, so a mistake can appear to persist after you fix it.