База на знаења

How to Set Up a Redirect

1. Log in to cPanel.

2. Under the Domains section, click the Redirects icon.

cPanel's Redirects

3. From the Type dropdown menu, select your preferred type of redirect.

    *Permanent 301 is a redirect that will update the visitor's bookmarks and direct search engines to the new site.

   *Temporary 302 is a redirect that will redirect the visitor or search engine but will not update the bookmark, and search engines will continue to index to the original page.

4. From the https?://(www.)? Dropdown menu, choose the domain name you would like to redirect.

   *If you would like to redirect a single page or directory, you can use the text field that begins with the forward-slash (/) to enter the folder or file name.
 

6. In the Redirects To field, enter the full URL of the page you will be redirecting.

Note: You must enter the protocol (e.g., https://, http:// or ftp://) as well for the domain URL to be accepted.

6. Select one of the following www. redirection options to dictate whether or not the domain will be redirecting:

 cPanel - Redirects - Wildcard Redirect

 *Only redirect with www. will only redirect visitors that type www. as part of the URL.

 *Redirect with or without www. will redirect all visitors regardless if they use www. or not.

 *Do Not Redirect www. will not redirect visitors that use www. as part of the URL.

7. Clicking the Wild Card Redirect option allows users to set up a redirect to the same file on a new destination.

 *With Wild Card Redirect, www.example.com/about.html will redirect to www.example-destination.com/about.html.

 *Without Wild Card Redirect, www.example.com/about.html will redirect to www.example-destination.com.

8. Click Add to create the redirect as specified.

When visitors type the exact URL you specified, they will be redirected to the target site you assigned.

  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?