URL redirection

A domain forwarding (URL forward) is used to forward a domain ( for example, " example.net " ) to another host address ( for example, " example.com ").

It can be replaced selectively only the domain name. So can be

Redirect so that when you call

Is called.

Forwarding can also be applied to a fixed page, such as " http://www.example.net/umzug.html " down.

For domain redirects HTTP status codes are defined as 300.

Technical implementation

Implementation via. Htaccess on self-managed servers

For owners of an Apache web server that is in the htaccess enabled., It is recommended that the forwarding of the domain via. Perform htaccess. It is a server- side redirect. This has the following advantages: firstly, have a majority of the Apache server and the htaccess rewrite engine enabled by default, on the other hand, server side redirects very user - and search engine friendly.. The visitor is in addition to the apparent change in the URL nothing remarkable of this transfer, since hardly any delays occur, and even search cheap redirects via this method is not negative, on the contrary, it often helps even duplicate content ( multiple indexing the same content ) to avoid.

A. Htaccess file is placed in this kind of forwarding without a file name, but with point and ending in the root directory of the web space.

To permanently ( cf. 301 redirect) to the subdomain " www." conduct, would have the htaccess file look like this. :

RewriteEngine On   RewriteCond % { HTTP_HOST }! ^ Www \. Example \. Net $ [ NC] RewriteRule ^ (. * ) $ Http://www.example.net/ $ 1 [R = 301, L] Who reversed by the subdomain " www." want to redirect to the main domain, which would have to modify the code as follows:

RewriteEngine On   RewriteCond % { HTTP_HOST } ^ www.example.net $ [ NC] RewriteRule ^ (. *) Http://example.net/ $ 1 [L, R = 301 ] Implementation on other servers as a service

Users who wish to publish documents with providers of online office or online word processor or link collections on the Internet, often have the problem is that the price offered for the publication link very long and not easy to remember or write off. If you want to the same online document with a self-explanatory example link " my - name.example.tld " make available, so you can find the internet providers of services, which to a certain period ( usually 1 year) the original link to the document a largely arbitrary (up to specifications in the ending) even can assign speaking link, which is effective immediately, and to document forwards when clicked to the original link.

According to this function you will find these services on the Internet under the names of URL - forwarding, domain - forwarding, or URL redirection. Technically, this is equivalent to setting up a subdomain.

Most of these service providers also allow for the establishment of belonging to this domain e- mail addresses. All e- mails to this public e-mail address will then be forwarded to an arbitrary invisible own mail address.

These services are used for the purpose of URL forwarding to Domains on foreign servers of online storage providers, without the need to set up an Apache web server.

244407
de