How do I create a redirect?

To add a redirect, perform the following actions:

  1. Select a redirect type from the Type menu.
    • Permanent (301) — This option notifies the visitor’s browser to update its records.
    • Temporary (302) — This option does not update the visitor’s bookmarks.
  2. Select a domain name from the menu, or select * *All Public Domains* * to redirect all of the domains that your cPanel account controls.
  3. In the text box to the right of the domain selection menu, enter the rest of the URL from which you wish for the server to redirect visitors. For example, if you wish to redirect to another URL, enter directory/file.html in this text box.
  4. In the redirects to text box, enter the URL to which you wish to redirect users.


    You must specify a protocol in this text box. For example, http://https://, or ftp://.

  5. Select one of the following options:
    • Only redirect with www. — This option only redirects visitors who enter the www. prefix before the domain name part of the URL.
    • Redirect with or without www. — This option redirects all users, regardless of whether the visitor enters the www. prefix before the domain name part of the URL.
    • Do Not Redirect www. — This option does not redirect users who enter the www. prefix before the the domain name part of the URL.
  6. Select the Wildcard Redirect option if you wish to redirect all files within a directory to the same filename in the new directory.
    • For example, if you enable the Wild Card Redirect option and redirects to, then a visitor who tries to access the URL redirects to the URL.
  7. Click Add.
    • To test the redirect, click the link under Directory in the Current Redirects table. If you properly configured the redirect, the system directs you to the original domain.

  • 69 Users Found This Useful
Was this answer helpful?

Related Articles

What is a redirect?

A domain redirect is an instance where a visitor is redirected to a different page when they try...

Remove a redirect

To remove a redirect, perform the following steps: Click Delete next to the redirect...