Redirects allow you to make a one web page redirect to another page. One reason to create a redirect is to make a page with a long URL accessible by creating a page which has a shorter and easier URL. Another reason would be to redirect visitors from a web page that doesn’t exist anymore to another URL.
- Go to http://yourdomain.com/cpanel and log in.
- Click the Redirects icon in the Domains section :

- On the Redirects page, you can add, view, or remove redirects. To add a redirect, enter the first directory in the first box, the second directory in the second box, whether the redirect is permanent or temporary, then click the Add button:

- To remove the redirect, in the Current Redirects section, click the red X (
) in the Remove column and click the Yes button on the Redirect Removal screen.
There are different types of redirects you can choose from depending on what you need to do :
- Permanent (301) : If you change the file name of a web page, you should use a 301 redirect. In this case, search engines will make the corresponding change to their index and this will prevent the web page from being viewed as new content.
- Temporary (302) : While technically this type of redirect has the same impact on visitors as a 302 redirect, search engines will not adjust their index accordingly. The redirection URL will be seen as additional content.
7 responses so far ↓
1. Response by : Terri Zwierzynski on Aug 6, 2009 at 2:48 pm
Hi, I’m hoping you can help me! I inadvertently deleted 40+ redirects when I was making changes to some top-level redirects. Is there a way to restore these? I have a full backup file available…
Thanks in advance,
Terri Z
2. Response by : The Web Hosting Hero on Aug 6, 2009 at 2:51 pm
@Terri
Assuming you are using cPanel, you should find one (or several) files named .htaccess in your backup set.
Try to view them using a non-formatting text editor and see if any of them contains your redirections.
3. Response by : Terri Zwierzynski on Aug 6, 2009 at 3:03 pm
Wow, thanks for the super-fast reply! And for the advice. That will work just great, thank you!
Peace,
Terri Z
4. Response by : Ike on Mar 8, 2011 at 2:38 pm
Is there a way to redirect non-www addresses to www (for SEO) without losing the path?
For example, I want to redirect
http://ikehamill.com to
http://www.ikehamill.com
but keep “/home” if it’s there.
5. Response by : The Web Hosting Hero on Mar 8, 2011 at 3:20 pm
Yes but not through cPanel. You’ll have to modify your .htaccess file manually to include this at the top:
RewriteCond %{HTTP_HOST} !^www.ikehamill.com$ [NC]
RewriteRule ^(.*)$ http://www.ikehamill.com/$1 [L,R=301]
6. Response by : Ike on Mar 8, 2011 at 4:02 pm
You’re awesome, that worked perfectly!
7. Response by : poly on Jul 24, 2011 at 5:26 pm
Hello I am having some trouble setting up a custom URL in this site called Cargo. I contacted justhost and they told me that my records are pointing to Cargo already but I still can’t set up my domain, is there something I can do about this?
This is the error that cargo shows me:
Error: your domain’s DNS is either not yet properly pointed, or you may have mistyped your URL. Cargo reads your A record as: 216.139.213.144
And Justhost says they have already changed the DNS what can I do?
Thank you.
Leave a Comment