Redirects allow you to forward visitors from one URL to another.
This is commonly used when a website moves, a page is renamed, or traffic should be sent to a different location.
Redirects configured in cPanel work on the server level and take effect immediately.
What Redirects Are Used For #
Redirects are commonly used to:
- Forward an old domain to a new domain
- Redirect one page to another page
- Force visitors to use a specific URL
- Prevent access to outdated pages
Redirects help avoid broken links and visitor confusion.
Where to Find Redirects in cPanel #
- Log in to cPanel
- Go to the Domains section
- Click Redirects
This opens the Redirects management interface.
Types of Redirects #
Permanent Redirect (301) #
- Used when a URL has permanently changed
- Search engines update their records
- Recommended for most website changes
Temporary Redirect (302) #
- Used when a redirect is temporary
- Search engines do not update indexing
- Less commonly used
If you are unsure, use a 301 redirect.
Setting Up a Redirect #
To create a redirect:
- Select the redirect type (301 or 302)
- Choose the domain to redirect from
- Enter the source path
- Enter the destination URL
- Save the redirect
Redirects apply immediately after saving.
Redirecting a Full Domain #
To redirect an entire domain:
- Leave the source path empty
- Enter the destination domain
Example:
example.com→newexample.com
Redirecting a Single Page #
To redirect a specific page:
- Enter the page path only
Example:
/old-page.html→/new-page.html
When Not to Use Redirects #
Do not use redirects to:
- Replace proper DNS configuration
- Hide website errors
- Bypass hosting limits
Redirects do not replace correct website setup.
Common Mistakes #
- Creating redirect loops
- Using the wrong redirect type
- Redirecting to invalid URLs
- Conflicts with CMS-level redirects
If a website behaves unexpectedly, check for multiple redirects.
Responsibility and Impact #
You are responsible for:
- Correct redirect configuration
- Avoiding redirect chains
- Testing redirects after creation
Incorrect redirects can make a website inaccessible.
Still need help after reading this article?
