Knowledge Base

Add a redirect

Add a redirect

To add a redirect, perform the following actions:

  1. Select a redirect type from the Type menu.
    • The Permanent (301) option will notify the visitor’s browser to update its records.
    • The Temporary (302) option will not update the visitor’s bookmarks.
  2. Select **All Public Domains** or a domain name from the menu.
    • Use the * *All Public Domains* * option to redirect all of the domains that your cPanel accounts control.
  3. In the text box to the right of the domain selection menu, enter the rest of the URL that you want the server to redirect.
  4. In the redirects to text box, enter the URL to which you wish to redirect users.

    Important:

    Icon

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

  5. Select one of the following options:
    • The Only redirect with www option will only redirect users who enter www in front of the page name.
    • The Redirect with or without www. option will redirect all users regardless of whether the www. prefix is included with the URL.
    • The Do Not Redirect www. option will not redirect users who enter www. with 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 example1.com redirects to example.com, then a visitor who tries to access the http://example1.com/pic.jpg URL will  redirect to the http://example.com/pic.jpg URL.
  7. Click Add.
    • To test the redirect, click the link under Directory in the Current Redirects table. This will take you to the original domain, which should be redirected, if it is properly configured.

Important

Icon

 You cannot edit a redirect. To modify a redirect, you must delete and then recreate it.

Remove a redirect

To remove a redirect, perform the following steps:

  1. Click the  button that corresponds to the redirect that you want to remove.
  2. To confirm that you want to remove the redirect, click Yes.
    • To keep the redirect, click No.

Search your redirects

To search your redirects, perform the following steps:

  1. Enter the search criteria into the Search text box.
  2. Click Go.

The redirects that match your search criteria will populate the list.

To sort your list of redirects, click the appropriate table heading. For example, Directory or Type.

 

 

Please rate this article to help us improve our Knowledge Base.

0 0