How to configure redirects in cPanel?

This article describes the way 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 a different web page. A common use of redirection is to make shorter, easy-to-remember URLs that redirect to longer URLs. Another use is to redirect visitors from old pages on a web page to newer, updated web pages.

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

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:

  • To specify a permanent redirection, select Permanent (301).
  • To specify temporary redirection, select Temporary (302).


"301 and 302 refer to the HTTP status codes that the server sends to the web browser."


3. Select the domain, and then type the web page that you want to redirect.

4. In the Redirects to the text box, type the destination web page.


"You can redirect the web page to a different on your website, or a web page on a totally different website."

 

5. Under www. redirection, choose the option you want for redirecting domains that include www.

6. 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 an easy way to redirect a whole directory of files at once."


7. Click Add. cPanel adds the redirect.


Removing a redirect

You can remove a redirect when you no longer want to redirect a page to a different web page. However, you can’t modify a redirect. If you need to modify a redirect, delete it and make 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 Delete.

3. Click Remove Redirect to confirm the deletion. cPanel removes the redirect.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a database password on cPanel?

Changing MySQL database password via cPanel You can change your database’s password by...

How can I change my PHP version on cPanel?

Changing PHP version via cPanel Your Hosting Account's PHP version can be changed at any time,...

How can I create a new MySQL database in cPanel?

Creating a new MySQL database at Servers GATE using cPanel   You can easily create a new MySQL...

How can I locate my MySQL database details on cPanel?

Locating your MySQL database details via cPanel You can easily locate your MySQL databases...

How can I set up a redirect on cPanel?

Creating a redirect on cPanel Your hosting redirects can be easily managed with the assistance...