Skip to content
Host4u Limited

Redirects

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

A redirect sends visitors from one address to another. Use one when you move a page, change your domain, or want an old address to land on the right page.

Adding a redirect

  1. In cPanel, open Redirects (in the Domains section).
  2. Choose the Type:
    • Permanent (301): the page has moved for good. Browsers and search engines update their bookmarks and listings. This is the usual choice.
    • Temporary (302): the page has moved for now. Bookmarks are not updated.
  3. Choose the domain, or All Public Domains. In the box after the domain, enter the path to redirect from. Leave it as / to redirect the whole domain.
  4. In Redirects to, enter the full address to send visitors to. It must start with https:// (or http://).
  5. Under www. redirection, choose whether the redirect applies Only redirect with www., Redirect with or without www., or Do Not Redirect www..
  6. Tick Wild Card Redirect if every file in the folder should go to the same file name in the new place.
  7. Click Add.

Your redirects

The Current Redirects list at the bottom shows each redirect with its type and status code. You cannot edit a redirect. To change one, click Delete and add it again.

Things to know

  • A wildcard redirect cannot redirect your main domain to a different folder on the same site.
  • Make sure the redirect cannot loop: if page A redirects to B, B must not redirect back to A.
  • WordPress and some other software have their own redirect tools, or use .htaccess. Do not duplicate a redirect in both places. See Showing hidden files and editing .htaccess.
  • To point a whole domain at another website on your account, see Domains in cPanel.

Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal