How to configure redirects in cPanel

Cpanel Redirect
5/5 - (7 votes)

A redirect happens when a web server sends a visitor from one web page to another. One common use is to create short, easy-to-remember URLs that point to longer ones. Another is to send visitors from old pages on a website to newer, updated pages.

Adding a redirect

To add a redirect, follow these steps:

  1. In the Domains section of the cPanel home screen, click Redirects.
  2. Under Add Redirect, select the redirection type:
    For a permanent redirection, select Permanent (301).
    For a temporary redirection, select Temporary (302).
  3. Select the domain, and then type the web page that you want to redirect.
  4. In the redirects to text box, type the destination web page.
  5. Click Add.
301 and 302 are the HTTP status codes that the server sends to the web browser.

Removing a redirect

Remove a redirect when you no longer want a page to point to another web page. You cannot edit an existing redirect: to change one, delete it and create a new one.

To remove a redirect, follow these steps:
  1. In the Domains section of the cPanel home screen, click Redirects.
  2. Under Current Redirects, locate the redirect that you want to remove, and then click Remove.
  3. Click Remove Redirect to confirm the deletion.

Related articles

nslookup practical commands

Anyone who works in IT has run into a failed DNS request at least once, and it can be frustrating. In this…