Wondering how to add a redirection rule in cPanel? Then this blog is perfect for you.
You may need to redirect traffic from one domain to another at times. You may need to route all traffic from example.com to example.net, for example. Specific pages, such as example.com/info.html, can also be redirected to example.net/anotherPage.html. This is simple to accomplish in your cPanel. If you want to customise the redirect rules, you can edit your.htaccess file directly.
How to Add a Redirection Rule in cPanel
Below are simple steps that help you to add a Redirection Rule in cPanel:
1. Log in to your cPanel.
2. Click on Redirects in the Domains Section OR you can also find it in the search bar.
3. Select your Redirection type option Permanent (301) or Temporary (302) & Select your Domain Name.
4. If you want to redirect a specific file (such as info.html) enter it in the blank forward slash ‘/’ field.
5. In the Redirects to box enter the domain, you want the traffic redirected to.
6. After updating all your details click on Add.
If you want to add a Redirection Rule in cPanel on your website, follow the above steps.
Conclusion
To add a redirection rule in cPanel, it is a straightforward procedure that can be completed in a matter of minutes. Whether you want to redirect a single URL or an entire domain, cPanel provides a simple interface for configuring redirection rules.
You can easily set up a redirection rule in cPanel by following the steps outlined in this blog post, ensuring that your website visitors are directed to the correct page or website. Remember to test your redirection rule after you’ve set it up to ensure it’s working properly.
Overall, adding a redirection rule in cPanel is an important skill for website owners and administrators because it can help improve your website’s user experience and SEO.