You changed a page address, moved your site to a new domain or merged two pages. Without a redirect, visitors coming from Google or an old link land on a 404 error. A redirect takes them to the new place automatically.
301 or 302? #
| Type | Meaning | When to use it |
|---|---|---|
| Permanent (301) | The page has moved for good | Address changes, domain moves, merged pages. Passes the page value in search engines |
| Temporary (302) | The page is elsewhere for now | Short maintenance or a seasonal offer, after which the original address returns |
The steps #
- Open Redirects in the Domains section of cPanel.
- Choose the type Permanent (301) in most cases.
- Choose the domain or All Public Domains to apply it to all of them.
- Type the path after the slash such as
old-page. Leave it empty to redirect the whole domain. - Enter the full new address in Redirects to, starting with https://.
- Choose a www option and click Add the redirect appears in the list below.

The www and wild card options #
| Option | Meaning |
|---|---|
| Only redirect with www. | Works when the domain is typed with www |
| Redirect with or without www. | Works both ways; usually the right choice |
| Do Not Redirect www. | Works only without www |
| Wild Card Redirect | For a whole domain move: old.com/any-page goes to new.com/same-page |
Examples #
- One page: path
offers-2025→https://yourdomain.com/offers. - A whole domain: empty path, with wild card →
https://your-new-domain.com.
.htaccess, while plugins such as Rank Math manage their own redirects. Keep your redirects in one place so they do not clash, and never redirect a page to itself, which causes a too many redirects error.To send all visitors from http to https you do not need this tool: turn on Force HTTPS Redirect on the Domains page.
Frequently asked questions #
How long until the redirect works?
Immediately, but your browser may remember an old redirect, so test in a private window.
Does a 301 redirect hurt my Google ranking?
No, it is the proper way to pass the old page’s value to the new one.
How do I delete a redirect?
In the list at the bottom of the Redirects page, click Delete next to it.
I get Too many redirects. Why?
Usually a redirect loop, or a clash with a plugin or the HTTPS setting in Cloudflare.
- Add More Than One Domain to One Hosting Account in cPanel: A Separate Site per Domain
- How to Fix the cgi-sys/defaultwebpage.cgi Page After Moving Your Site
- Common Cloudflare Errors and How to Fix Them: 520, 521, 522, 525 and Too Many Redirects
- Create a Subdomain in cPanel, Such as blog.yourdomain.com
- The Domains and Software Sections in cPanel: Domains, HTTPS Redirect, Zone Editor and PHP Version