What is a redirect?
A redirect lets you send visitors who try to access one URL to another URL. cPanel allows you to set up either temporary or permanent redirects.
Redirects are useful when you change the URL of a page on your site. You can put up a redirect at the old URL to make sure your visitors are automatically sent to the new URL.
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.
Add a redirect
- Select the appropriate redirect type (permanent or temporary).
- Select the domain of the URL you wish to redirect.
- Complete the URL using the box to the right of the slash (/).
- Enter the new URL in the redirects to box.
- Select an option for www redirection:
When you select Only redirect with www, only users who type "www." in front of the URL 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. - Select Wild Card Redirect 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 to example.com, then a visitor trying to access example1.com/pic.jpg will be redirected to example.com/pic.jpg.
Note: The wild card redirect option cannot be used to redirect your main domain to a different directory on your site.
- Click Add.
Search redirects for keywords
- Enter the keywords in the Search box.
- Click Go.
You may sort the list of redirects by clicking a heading. The redirects will be sorted according to the attribute you clicked (for example, Directory or Type).
Remove a redirect
Click Remove for the appropriate redirect.