Knowledgebase
How to create a Redirect Print this Article
Redirect feature allows for the redirection of users visiting a particular page. This can be useful when redirecting a short URL to a necessarily long URL.
Create a Redirect :
To add a redirect:
- 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.
- Enter the URLyou would like to redirect, using the pull-down menu and corresponding text box.
- You may use the All Public Domains option to redirect all domains controlled by your cPanel accounts.
- In the redirects to field, enter the URLto which you would like to redirect users.
- You must specify a protocol in this field, such as
http://
,https://
, orftp://
.
- You must specify a protocol in this field, such as
- Select whether to redirect with or without
www.
preceding the URLusing the following options:- When you select Only redirect with www, 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 users regardless of whether the
www.
prefix is included with the URL. - When you select Do Not Redirect www., users who type
www.
with the URL will not be redirected.
- When you select Only redirect with www, only users who type
- Click the Wild Card Redirectbox if you wish to redirect all files within a directory to the same filename in the new directory.
- Example: When wild card redirects are active, if
example1.com
redirects toexample.com
, then a visitor trying to accessexample1.com/pic.jpg
will be redirected toexample.com/pic.jpg
.
- Example: When wild card redirects are active, if
- Click Add.
- 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.
Important: You cannot edit a redirect using this screen. If you wish to modify a redirect, you will need to delete and then recreate it.
Was this answer helpful?
Related Articles
What is cPanel?
cPanel is a fully featured web-based control panel that allows you to manage your domain through...
cPanel is a fully featured web-based control panel that allows you to manage your domain through...
What is WebHost Manager (WHM)?
WebHost Manager is the control center of the cPanel/WebHost Manager package. It is used to set up...
WebHost Manager is the control center of the cPanel/WebHost Manager package. It is used to set up...
Tools for managing MySQL databases?
Can you provide/recommend any tools for managing MySQL databases?There is a multitude of...
Can you provide/recommend any tools for managing MySQL databases?There is a multitude of...
Remove a Redirect
To remove an existing redirect: Click the button corresponding to the redirect you would like...
To remove an existing redirect: Click the button corresponding to the redirect you would like...
cPanel File Manager
The File Manager is cPanel’s built-in web application for managing and manipulating your...
The File Manager is cPanel’s built-in web application for managing and manipulating your...
Powered by WHMCompleteSolution