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.
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).
- 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.
- Click Add.
301 and 302 refer to the HTTP status codes that the server sends to a web browser.
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 Remove.
- Click Remove Redirect to confirm the deletion.