• Go To Website
  • Go To Website
home/Knowledge Base/cPanel/How to configure redirects in cPanel
Popular Search:Reseller Hosting, VPS Hosting, Professional Mail

How to configure redirects in cPanel

Updated on August 21, 2024

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 web site 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:

  • In the DOMAINS section of the cPanel home screen, click Redirects

  • 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.

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

 

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

 

You can redirect the web page to another web page on your web site, or to a web page on a completely different web site.

  • Under  redirection, select the option you want for redirecting domains that include www.

 

  • 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.

  • 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 create a new one.

To remove a redirect, follow these steps:

  • In the DOMAINS section of the cPanel home screen, click Redirects

 

  • Under Current Redirects, locate the redirect that you want to remove, and then click Delete.

 

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

 

Was this helpful?

Yes  No
Related Articles
  • Generating Wildcard CSR
  • Using NodeJS Apps
  • How To Setup Node.js App in cPanel
  • How to change cPanel password from your Client Area
  • How to Restore backup using JetBackup5
  • How To Clone A Website In cPanel
Leave A Comment

You must be logged in to post a comment.

cPanel
  • How to configure redirects in cPanel
  • Generating Wildcard CSR
  • Using NodeJS Apps
  • How To Setup Node.js App in cPanel
  • How to change cPanel password from your Client Area
  • How to Restore backup using JetBackup5
View All 93  
Popular Articles
  • How to install FREE SSL on cPanel
  • How to Install WordPress Online Using Softaculous App Installer
  • Listed Hosting Nameservers
  • How to register a domain, transfer a domain and buy Hosting Plan
  • Enable or Disable PHP’s GD Extension in cPanel
Categories
  • Domain
    • Transfer
  • SSD Hosting
  • Nameservers
  • Cloud VPS
  • PHP
  • Migration
  • Resellers
    • WHMCS
    • WHM
  • Security
    • SSL
  • Professional Business Mail
  • Affliates
  • Dedicated Servers
  • Billings & Payments
  • DNS
  • Files & Access
  • Cloudflare
  • cPanel
    • Softaculous
  • Backup
  • Node.js
  • General
  • Domain Reseller
  • Databases
  • WordPress
  • Email

  How to create a full cPanel backup

How To Clone A Website In cPanel  

  • © 2020 - 2024. Listed Hosting. All Rights Reserved.

Popular Search:Reseller Hosting, VPS Hosting, Professional Mail