how to re-direct URL to another URL in cpanel

   If you are looing to redirect one of your web pages to another URL?  This article is all about it. But first you need to know, what kind of redirection you’ll be doing.

 There are two types of redirections to choose from;

  • Permanent Redirection (301)

If you’ve moved one page to another location, permanently, you’ll want to use this type of redirection. Web Browsers will be told to always use the new location from now on. This option is advisable for SEO purposes, if it suits what you’re doing.

 

  • Temporary Redirection (302)

This option is particularly handy if the redirection you’re making is only going to be used temporarily. Web Browsers will continue to process the original address on each visit.

To get started, log in to cpanel and click on the Redirects button under the Domains menu.

Next up, we’ll need to fill in a few details.

  1. Select the Type of redirection (as decided on above)
  2. Choose which domain this should apply to. If you want this to apply to all of the domains hosted on your cPanel account, you can choose to redirect ‘All Public Domains’.
  3. Enter the current page link. Keep in mind, whatever is in the box from step #2 will be used to prefix the url. This means that if your site is ventrasaurus.com.au/oldpage, you simply need to put oldpage into this box.
  4. Enter the full URL that the old page should redirect to. If you have an SSL certificate, you should use https:// to prefix your domain. If not, http:// should be used.
  5. Choose whether or not you want to redirect traffic going from www.yourdomain.com, if you want to only redirect traffic going from www.yourdomain.com or if you want to redirect both, select the middle option to redirect with or without the www.
  6. (Optional) redirect all of the files from box #3 to the new page. In this instance, you would be redirecting ventrasaurus.com.au/oldpage/*any-file* to the new address.

Once you’ve clicked Add, you should see a message similar to this, to confirm the redirect has been added;

Want to remove your redirection? Scroll down to Current Redirects on the Redirects page and click Delete;

 

Was this answer helpful? 2 Users Found This Useful (2 Votes)