Use this feature to redirect your visitors from one web page to another or even to a different website.
To create a redirect in a Unix-based account, do the following:
- Select Quick Access in the Account menu.
- Click the Web Options icon.
- Click the Edit icon next to the domain you need.
- On the Web Service page, scroll down to find the Redirect option and click the Add icon next to it.
- Agree with the charges.
- On the page that appears, create the redirect rule.
Entering http://www.examples.com/products into the Redirect from field and http://www.examples.com?param1=yes in the to field, will take all the http://www.examples.com/products visitors to the http://www.examples.com?param1=yes page.
If you leave the Redirect from field empty, visitors will be redirected from any location in the site. In the to field, you can enter URLs with parameters, as illustrated on the screenshot above.
Leave Redirect status as is unless you want to change the default:
- Permanent returns a permanent redirect status (301) indicating that the resource has moved permanently.
- Temporary returns a temporary redirect status (302). This is the default and indicates to the client that the resource has moved temporarily.
- See other returns a "See Other" status (303) indicating that the resource has been replaced.
- Gone will cause a visitor's browser display "The requested resource is no longer available on this server and there is no forwarding address. Please remove all references to this resource." message when trying to go to the 'to' URL..
In Windows plans, redirect works in a slightly different manner:
The exact URL entered above redirects requests for any files in the indicated directory to one file. For example, to redirect all requests for products.html file to the following URL: 'www.example.net', enter www.example.net/products.html in the To field and select this option. You can redirect requests to URLs with parameters, for example www.examples.net/?param1=yes
*Note: you can redirect requests for files and directories both to your own site and to any other external URL.
- A directory below this one redirects a parent directory to a child directory. For example, to redirect your 'examples.net/products' directory to a subdirectory named 'news', enter 'excample.net/products/news' in the 'to' text box and select this option. Without this option, the Web server will continually map the parent to itself.
- A permanent redirection for this resource sends the following message to the client: '301 Permanent Redirect'. Redirects are considered temporary, and the client browser receives the following message: '302 Temporary Redirect'. Some browsers can use the '301 Permanent Redirect' message as the signal to permanently change a URL, such as a bookmark.