How to redirect a domain or page Print

  • 0

A redirect sends visitors from one address to another. Use it to send an old page to a new one, to send a second domain to your main site, or to send yourdomain.com/shop to an online shop elsewhere.

Create a redirect

  1. Log in to cPanel (see How to log in to cPanel).
  2. In the Domains section, click Redirects.
  3. In Type, choose Permanent (301). This is best for search engines. Use Temporary (302) only for a short-term change.
  4. In the next box, choose the domain you want to redirect from.
  5. In the box with the /, type the page to redirect, for example old-page. Leave it empty to redirect the whole domain.
  6. In Redirects to, type the full new address, including https://.
  7. Leave Redirect with or without www. selected and click Add.

Add Redirect form in cPanel

Test it in a private browser window, because browsers remember old redirects. You can remove a redirect at any time from the Current Redirects list at the bottom of the same page.

Forcing HTTPS (the padlock)

You don't need a redirect for this. Every site gets a free SSL certificate, and you can turn on Force HTTPS Redirect for each domain in cPanel. See Free SSL certificates and forcing HTTPS.

Tip: Using WordPress? To change your whole site address, update it in WordPress under Settings → General rather than adding a redirect, or you may create a loop.

Redirect a second domain you own

First add the domain to your account (see How to add a subdomain or another website) and point it to us (see How to point your domain to Obsidian Hosting). Then create a redirect for it as above.

Still stuck? Open a support ticket and we'll help.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution