There are many situations where you might need to redirect your domain to another domain. For example, you might need to redirect your domain example.com/aboutus.php to otherdomain.com/about.php or if you want to redirect all the request for example.com to otherdomain.com, you can do that too. To set up a redirection from the cPanel, follow the below steps:

  1. Click on the Redirects icon under the Domains section.
  2. On the next page, select Permanent (301) redirection type. From the next dropdown menu, select the domain that you want to use redirection with.
  3. On the box with “/”, you can put the page that you want to redirect from. For example, if you want the visitors to be redirected from yourdomain.com/AboutUs.php to example.com/about.php then put /AboutUs.php you can also leave the AboutUs.php box blank if you want to redirect the whole domain.
  4. On the Redirects To box, place the domain or URL where your domain will be redirected to.
  5.  www. Redirection: on this section, you can select whether you want the domain with or without www to be redirected. You can select the option to redirect only with www., redirect both with and without www or not redirect www at all.
  6. Wild Card Redirect: If you want all the visitors of the source domain to be redirected to the new domain then you can use the Wild Card Redirect option. For example, it will automatically redirect users from olddomain.com/somepage to newdomain.com/somepage
  7. After you have configured all the settings, click on Add button and your website will be added.
¿Le ha resultado útil esta respuesta? 90 Los usuarios encontraron esto útil (353 Votos)