How to configure redirects in cPanel?

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

  1. In the Domains section of the cPanel home screen, click Redirects.
  2. Under Add Redirect, select the redirection type:Select the domain, and then type the web page that you want to redirect.
    • 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.
  3. 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.

  4. Click Add.

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:

  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.
  • redirect, redirect to https and www
  • 1 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to show hidden files (.htaccess) in cPanel File Manager?

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager....

How Can I Compress / Uncompress Files Using the File Manager?

How to Compress Files Go to the File Manager. Navigate to the folder where the files you want...

How to View Your cPanel Disk Space Usage?

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

Accessing webmail for your domain

To access the included webmail email clients included with your hosting account, you’ll need to...

How to rename a database in phpMyAdmin?

phpMyAdmin is a free and opensource application for MySQL database management. It is one of the...