Adding Redirects in cPanel

Use this page when a site URL should send visitors to another URL. cPanel's Redirects tool can redirect a full domain, a subdomain, or a specific path without editing .htaccess manually.

Before Adding a Redirect

Avoid redirect loops

If the browser reports too many redirects, remove the new redirect and check for another redirect rule in WordPress, .htaccess, Cloudflare, or another site tool.

Redirect Types

Type Use when
301 Permanent The old URL should permanently move to the new URL. This is the usual choice for renamed pages, domain changes, and SEO-friendly moves.
302 Temporary The move is short term, such as a temporary campaign page or maintenance workaround.

Add a Redirect

  1. Log in to cPanel.
  2. Open Redirects.
  3. Choose Permanent (301) or Temporary (302).
  4. Select the domain or subdomain to redirect.
  5. Leave the path field blank to redirect the whole domain, or enter a path such as old-page to redirect only example.com/old-page.
  6. Enter the full destination URL, including https://.
  7. Choose the www behavior that matches the domain:
  8. Only redirect with www. redirects www.example.com.
  9. Redirect with or without www. redirects both example.com and www.example.com.
  10. Do Not Redirect www. redirects only the non-www version.
  11. Use Wild Card Redirect only when every path under the old URL should map to the same path at the new destination.
  12. Select Add.
  13. Test the old URL in a private browser window.

Redirect a Single Page

For a single page, select the domain and enter only the path in the redirect field. Do not include the domain name in that field.

Example:

Field Value
Domain example.com
Path old-page
Redirects to https://example.com/new-page

This redirects https://example.com/old-page to https://example.com/new-page.

Redirect a Whole Domain

To redirect one domain to another, select the old domain, leave the path field blank, and enter the new domain as the destination.

Use Wild Card Redirect only if paths should be preserved. For example, a wildcard redirect can send old-example.com/page to new-example.com/page.

Remove a Redirect

  1. Open Redirects in cPanel.
  2. Scroll to Current Redirects.
  3. Find the redirect.
  4. Select Delete or Remove.
  5. Test the old URL again.