Portal Home > Knowledgebase > cPanel > How to Set Up a Redirect


How to Set Up a Redirect





  •     Log into cPanel.
  •     Under Domains, simply select the Redirect symbol.
  •     From the Drop-down selection, decide which kind of divert is to be used.
         Permanent 301 is a divert that will upgrade the viewer's bookmarks and direct Google to the new website.
         Temporary  302 is a divert that will divert the visitors, Search engines and it will not upgrade the bookmark, and google will keep catalog to the last listed web page.
    From the "http://(www.)" drop-down selection, select the domain which you would like to divert.
        If you would like to divert only one web page or listing, you can use the text area to get into the name of the listing or a file path.

In the "redirects to" area, get into the complete URL of the website to which you will be redirecting.

Note: You must assign protocol (e.g. http://, https:// or ftp://) to be able for the URL to be approved.

Warning: You must Never redirect from domain.com to www.domain.com or from domain.com to domain.com/index.something. Doing this may result in an infinite loop. If you are looking to manage the www and index page, you must use mod_rewrite by adding .htaccess code.

Select one of the following www re-direction choices to determine whether or not the domain will be redirecting:
        Only divert with www. only redirects guests that type www. as aspect of the URL.
        Redirect with or without www. redirects all guests regardless of if they use www. or not.
        Do Not Redirect www. will not divert guests that use www. as aspect of the URL.
   
Simply clicking the Wild Cards Redirect choice allows customers to set up a divert to the same file on a new location.
        With Wild Cards Redirect, www.example.com/about.html will divert to www.example-destination.com/about.html
        Without Crazy Cards Redirect, www.example.com/about.html will divert to www.example-destination.com
        Just Click Add to make the divert as specified.




Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read