How to Setup a Domain Redirect in cPanel

Different types of web redirects can be created from your cPanel account, these can be either Temporary or Permanent.

Temporary redirects

Temporary redirects (status code 302 – Found) can be used when your website must be temporarily redirected. For example, if you are performing site maintenance redirect the visitors to a temporary page to inform your visitors that you will be back shortly.

Temporary redirects

Permanent redirects (status code 301 – Moved Permanently), it’s a method of telling visitors and search engines that the web page or site has been permanently moved to a new location. This will allow search engines to direct ranking and value signals to the new URL as they understand this location to be the new, permanent home for that content.This type of redirect should be used whenever a website is moved to a new domain name.

How to Setup a Domain Redirect in cPanel

1) Log into cPanel.

2) Click the “Redirects” button in the Domains section.

3) You will then be on the Add Redirect page. From the “Type” drop-down box chose which type or redirect you want to create for the domain Permanent (301) or Temporary (302).

4) Click the next drop-down box and choose the domain you want to redirect.

5) For the slash ‘/’ field enter any folder names if necessary.

6) Enter the address you want to redirect to in the “Redirects to” section.

7) Chose either of the options:

  • “Only redirect with www.”
  • “Redirect with or without www.”
  • “Do Not Redirect www.”

8) Check the box if you want to create a Wild Card Redirect. This will add the file/folder name after the URL when it redirects. For instance, domain.com/file.php would redirect to domain2.com/file.php.

9) Click on the “Add” button when you are happy with the settings.

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