1. Use the pull-down menu to select the type of redirection needed—temporary or permanent.
- The Temporary 302 setting will not update the visitor’s bookmarks.
- The Permanent 301 setting will notify the visitor’s browser to update its records.
2. Enter the URL you would like to redirect, using the pull-down menu and corresponding text box.
- You may use the All Public Domains option to redirect all the domains controlled by your cPanel accounts.
3. In the redirects to field, enter the URL to which you would like to redirect users.
- You must specify a protocol in this field, such as http://, https://, or ftp://.
4. Select whether to redirect with or without www. preceding the URL, using the following options:
- When you select Only redirect with www, then the only users who type www in front of the page name will be redirected.
- When you select Redirect with or without www, you will redirect all the users regardless of whether the www. prefix is included with the URL or not.
- When you select Do Not Redirect www., users who type www. with the URL will not be redirected.
5. Click on the Wild Card Redirect box, if you wish to redirect all the files within a directory to the same filename in the new directory.
- Example: When the wild card redirects are active, if example1.com redirects to example.com, then a visitor trying to access example1.com/pic.jpg will be redirected to example.com/pic.jpg.
6. Click on the "Add" button.
- You may test the redirect by clicking the link under Directory in the Current Redirects table. This will take you to the original domain, which should be redirected, if it is properly configured.
View this explanatory video to learn more about the process of setting up of domain redirects in the cPanel.
<iframe width="854" height="480" src="https://www.youtube.com/embed/W9Uoadji09A" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>