How to configure redirects in cPanel

Last modified: Monday November 27th, 2023

This article describes how to use cPanel to set up a web page to redirect to another web page.

About redirects

A redirect occurs when a web server redirects a visitor from one web page to another web page. Typically, redirection is used to create shorter, more memorable URLs that redirect to longer URLs. Another use is to redirect visitors from old website pages to new, updated web pages.

You can use cPanel to redirect multiple web pages and specify if the redirects are temporary or permanent.

Adding a redirect

Please follow these steps to add a redirect:

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

Removing a redirect

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

Please follow these steps to remove a redirect:

  1. Log in to cPanel.
  2. Click Redirects in the DOMAINS section of the cPanel home page:                                        How to configure redirects in cPanel redirects cpanel
  3. Locate the redirect that you want to remove under Current Redirects, and then click Delete.
  4. To confirm the deletion click Remove Redirect and cPanel will remove the redirect.

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

Was this article helpful?
Views: 288

10 Years Beehosting!
Celebrate with 70% OFF + FREE Site Transfer.

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