How to configure redirects in cPanel

Last modified: Sunday September 4th, 2022


This article describes how to use cPanel to configure a web page to redirect to a different web page.

About redirects

A redirection occurs when a web server redirects a visitor from one web page to another web page. A common use of redirection is to create shorter, easy-to-remember URLs that redirect to longer URLs. Another use is to redirect visitors from old pages on a website to newer, updated web pages.

You can use cPanel to redirect multiple web pages, and you can specify whether redirections are temporary or permanent.

Adding a redirect

To add a redirect, follow these steps:

  1. Log in to cPanel.
  2. In the DOMAINS section of the cPanel home page, click Redirects:                                        How to configure redirects in cPanel kb cpanel 94 domains redirects icon
  3. Under Add Redirect, select the redirection type:
    • To specify a permanent redirection, select Permanent (301).
    • To specify a temporary redirection, select Temporary (302).
      301 and 302 refer to the HTTP status codes that the server sends to a web browser.
  4. Select the domain, and then type the web page that you want to redirect.
  5. In the Redirects to text box, type the destination web page.
    You can redirect the web page to another web page on your website, or to a web page on a completely different website.
  6. Under www. redirection, select the option you want for redirecting domains that include www.
  7. To enable wild card redirecting, select the Wild Card Redirect check box.
    When wild card redirects are enabled, all files in a directory are redirected to their corresponding filenames in the redirected directory. This is an easy way to redirect an entire directory of files at once.
  8. Click Add. cPanel adds the redirect.

Removing a redirect

You can remove a redirect when you no longer want to redirect a page to another web page. However, you cannot modify a redirect. If you need to modify a redirect, delete it and then create a new one.

To remove a redirect, follow these steps:

  1. Log in to cPanel.
  2. In the DOMAINS section of the cPanel home page, click Redirects:                                        How to configure redirects in cPanel kb cpanel 94 domains redirects icon
  3. Under Current Redirects, locate the redirect that you want to remove, and then click Delete.
  4. Click Remove Redirect to confirm the deletion. cPanel removes the redirect.

Looking for an outstanding cPanel-based web hosting provider? Try our web hosting packages with cPanel

Was this article helpful?
Views: 79
Sidebar

Beehosting.pro website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Menu