Setting up a redirect in cPanel Print

  • 136

How to setup a redirect in cPanel

 

First we will cover the different types of redirects. 

 

Currently we only offer a 301 or 302 redirect via our cPanel services. 

 

A 301 redirect is a permanent redirect, this helps with search engines replacing their search results properly with the updated redirect once it is in place. This also helps with web browsers storing a correct cache on where to find the site. 

A 302 redirect is a temporary redirect, generally used when testing or temporarily redirecting traffic to a new page. 

 

To set up a redirect, first you will need to log into your cPanel service.

 

Once logged in:

  1. Click on “Redirects” under the “Domains” header or search using the search bar at the top of the page
  2. Once in the redirect section you have the following options to fill in:
    Type: either 301 or 302 depending on your use
    https?://(www.)?: Select the domain in your hosting that you would wish to redirect
    /: whether or not you would like a sub page of the domain name redirected such as yourdomain.com/test rather than the root domain name
    Redirects to: what destination you would like the redirect to head towards
    www. redirection: there are three options here asking whether you would like to only redirect the www. subdomain of your site, to redirect either the root domain or the www. subdomain (recommended) or whether you would not like to redirect the www. subdomain and only your root domain. 
    The last option is an optional Wild Card Redirect where you can opt to redirect all subdomains/subpages to the selected website.
  3. Click “Add” and the redirect will be created. 

When testing a domain redirect, please make sure to use an incognito or private window in your browser as the previous home page may be still cached. 

 

Lastly, if you were looking to remove a redirect, under “Current Redirects” on the right hand side there is an option to “Delete” 

 

If you have any trouble setting up a redirect, feel free to get in touch with us via a ticket or over LiveChat and we will be happy to Help!


Was this answer helpful?

« Back