How to Configure Domain Redirects in cPanel?

How to Configure Domain Redirects in cPanel?

While running and maintaining a website, there are instances when it becomes necessary to redirect traffic from one domain or page to another. Whether you’ve undergone a rebranding process or are simply restructuring your website, cPanel offers a convenient solution for domain redirects.

In this article, we’ll explore the step-by-step process of configuring domain redirects in cPanel, empowering you to manage your website’s redirection needs seamlessly.


Also Read: How to Add a New Domain To Cpanel?


Steps to Configure Domain Redirects in cPanel

1. Log into cPanel

a. Begin by logging into your cPanel account, the central hub for managing your website’s hosting environment.

Log into cPanel

 

2. Navigate to Redirects

a. In the ‘Domains’ section, locate and click on the ‘Redirects’ option.

click on the Redirects option

3. Choose Redirect Type

a. Select the type of redirect that aligns with your goals:

➔ Permanent (301): Ideal for updating bookmarks and informing search engines about the new site.

➔ Temporary (302): Redirects visitors without updating bookmarks, preserving the search engine’s original indexing.

Select Temporary (302) option

*Note: Permanent (301) redirects are generally recommended for long-term changes.

 

4. Select the Domain and Specify Destination

a. From the dropdown menu, choose the domain you want to redirect.

Select the Domain and Specify Destination

b. If redirecting a specific page or directory, enter the relevant information in the provided text field.

redirecting a specific page or directory

5. Specify Destination URL

a. Enter the complete URL of the destination page to which your domain will redirect by including the protocol (http:// or https://).

Specify Destination URL

6. Configure www. Redirect

a. Choose the appropriate option based on your preferences:

I. Only redirect with www.

II. Redirect with or without www.

III. Do Not Redirect www.

Configure www Redirect

 

7. Wild Card Redirect (Optional):

a. If needed, check the ‘Wild Card Redirect’ option to redirect all files in the current directory to their counterparts in the new directory.

Example: With Wild Card Redirect, example.com/test/ redirects to example-test.com/test/.

Wild Card Redirect

8. Create the Redirect:

a. Click the ‘Add’ button to implement the configured redirect.

Click the Add button


Also Read: How to Create a Subdomain For Your Website


Conclusion

Configuring domain redirects in cPanel is a straightforward process that allows you to manage changes to your website’s structure or branding efficiently. Whether making permanent adjustments or temporarily redirecting traffic, cPanel provides a user-friendly interface to meet your redirection needs. 

By following the outlined steps, you can ensure a seamless transition for your website visitors while maintaining control over your website’s online presence.

Congratulations! You have successfully learned how to configure domain redirects in cPanel.




Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram