How to Setup Redirections Using cPanel

April 25th, 2009 · 3 Comments

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.

  1. Go to http://yourdomain.com/cpanel and log in.
  2. Click the Redirects icon in the Domains section :
    cpanel-redirect-tutorial-1
  3. 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:
    cpanel-redirect-tutorial-22
  4. To remove the redirect, in the Current Redirects section, click the red X (cpanel-redirect-tutorial-3) 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.

3 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

Leave a Comment




 

Top 10 cPanel Web Hosts

InMotion Hosting - $5.95
WebHostingHub - $4.95
JustHost - $3.45
HostGator - $4.95
GreenGeeks - $4.95
DowntownHost - $7.95
HostDime - $18.33
HostMonster - $5.95
BlueHost - $6.95
10 Arvixe - $4.00
 
 
 
 

Tutorials by Category

 
 

Recent Comments

 
© Copyright 2010 - TheWebHostingHero.com