CPanel - How to redirect a URL/webpage

From EZP Knowledge Base

Jump to: navigation, search

There may be times when you want to redirect a specific webpage to another webpage. Perhaps you want to make a long url shorter and easier to remember, or you may want to link to a page with a more "search engine friendly" url. Using cPanel, you can accomplish this very easily, just follow these steps:

  • Login to cPanel!
  • Scroll down to and click the "Redirects" link under the "Domains" heading

file:redirects.png


  • Choose whether the redirect will be permanent or not by using the drop down list beside "Type"

file:redirects2.png


  • Note: A permanent redirect (301) will tell the surfers web browser to automatically update their bookmarks for that URL. If you remove the redirect at a later date, this could cause some problems for your bookmarks. A Temporary (302) redirect will not do this.
  • Select the domain you want to setup the redirect for from the drop down list beside "http://"
  • Type in the remaining URL after the "/"
  • Enter the URL you want to redirect to in the field beside "redirects to→ http://"
  • Check the check box for "Wild Card Redirect" if you wish to setup Wild Card redirection
  • Note: A wild card redirect will redirect all files within the directory you've specified to the same filename in the redirected directory!
  • Click add and you are done!

You will see your redirects at the bottom of the redirect page. You can delete them at anytime by clicking the button under the "Delete" column for each redirect.

file:redirects3.png

You can also accomplish the exact same thing using your .htaccess file of course. But the cPanel method is very easy and the learning curve is small.