Choose 'Redirect' method - In this section you can choose the type of the Redirect directive that is to be used in the URL redirection. Our URL Redirector allows you to choose between the common Redirect directive and the RedirectMatch one (which enables you to use regular expressions).
Redirect Directive - The Redirect directive maps a requested URL into a new one by asking the web client to re-fetch the resource to the new location. The requested URL's path is a case-sensitive path beginning with a slash. A relative path is not allowed. The URL to which you redirect should be an absolute path beginning with a scheme and hostname.
RedirectMatch Directive - The RedirectMatch directive maps a Request-URL into a new one by making use of standard regular expressions, instead of simple prefix matching. The supplied regular expression is matched against the URL-path, and if it matches, the server substitutes any parenthesized matches into the given string and use it as a filename. For example, to redirect all GIF files to like-named JPEG files on another server, you might use:.
Regular Expression: (.*).gif$
RedirectMatch URL: http://www.anotherserver.com$1.jpg
Also, if you want to redirect all GIF files to picture.gif on another server, you might use:
Regular Expression: .gif$
RedirectMatch URL: http://www.anotherserver.com/picture.gif
Choose Domain or Subdomain - Using the list of all active domains and subdomains you can choose the domain or subdomain which is to be redirected.
Path - In this field you can edit or browse to the exact path which is to be redirected.
HTTP status code - Here you can specify the HTTP response status code, which is to be returned for your redirection. The available status options are: 301, 302, 303 and 410.
Permanent redirection: 301 - The requested URL (specified in the path above) has been assigned a new permanent URL (set in the Redirect URL field) and any future references to this resource SHOULD use one of the returned URLs. Clients ought to automatically re-link references to the Request-URL to one or more of the new references returned by the server, where possible. This response is cacheable unless indicated otherwise.
When a URL returns a 301 redirect, it means that the owner of this link asks users to use the new address, which they are redirected to.
Temporary redirection: 302 - The requested URL (specified in the path above) resides temporarily under a different URL (set in the Redirect URL field). Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URL for future requests.
When a URL returns a 302 redirect, it means that the owner of this link asks users to continue to use this address as the redirect could be modified at some later time.
See Other redirection: 303 - The response to the requested URL can be found under a different URL and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URL (set in the Redirect URL field) is not a substitute reference for the originally requested URL (specified in the path above).
When a URL returns a 303 redirect, it means that the owner of this link redirects the user to another page which is not a substitute of the originally requested page. This method is very popular when redirecting a visitor to a 'Thank you' page after filling in a page.
Gone status code: 410 - The requested URL is no longer available on the server and no forwarding address is known. This condition is expected to be permanent.
When a URL returns a 410 redirect, it means that the requested page does not exist anymore.
Redirect URL - This field is available only when you select to use a 'Redirect directive'. Here you can specify the full URL of the page which you want to redirect to.
Example: http:/www.newdomain.com/
RedirectMatch URL - This field is available only when you select to use a 'RedirectMatch directive'. Here you can specify the full URL and the additional parameters of a regular expression for the page which you want to redirect to.
Example: http://www.anotherserver.com$1.jpg
Regular Expression - This field is available only when you select to use a 'RedirectMatch directive'. Here you can type a regular expression which is to be used in your RedirectMatch redirection.
Example: (.*).gif$