IIS Server 301 Permanent Redirection Settings Guide
Source: Internet
Author: User
KeywordsDomain name www server IIS
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Web site redirection is one of the most feasible approaches. When a user or search engine sends a browse request to a Web server, one of the status codes in the header (header) of the HTTP data stream returned by the server indicates that this page is permanently transferred to another address.
301 Permanent Redirect is the only method of all redirects to comply with the search engine rules of the redirect, the other redirect also includes 302 temporary redirect and JS Jump, and so on, these methods are easy to cause the problem of URL irregularities. So if you have multiple domain names and you want them to have access to the same site, that can only be one of the main domain name, the rest of the other domain to do 301 permanent redirect to the main domain name, only in this way can be perfect for multiple domain names are visited a site, will not produce duplicate collection, resulting in the site was punished phenomenon.
Before also not how to pay attention to 301 redirect, first because there is no site to redirect, the second for the domain name without www I am using the forward to the domain name with www. However, after a storm, many service providers have not provided forwarding services, although the easy name can now enjoy free forwarding services, but not without the forwarding of the WWW to the WWW with the simultaneous MX record resolution, which requires MX resolution of the friend is also a big worry.
And some of the domain name in foreign countries, forwarding is not used, can only be 301 permanent redirect, or search engines are not with the WWW station and with the station of the WWW treated separately, but we are accustomed to using the domain name with www.
After watching some tutorials on the web, and based on your own practice, you finally got the 301 permanent redirection settings problem on the IIS server. The implementation method is as follows:
1. Create a new site, the corresponding directory such as E:\wwwroot\301web. The directory requires only 1 files, i.e. index.html or 404.htm. Bind the domain name to jump, as shown in figure:
2. In IIS, select the site that we have just established, right button, properties, home directory, select Redirect to, enter the URL such as: http://www.xxxx.com, also note that the following resources to select the permanent redirection options. The following figure:
3. To this end, we have completed the xxxx.com of this domain 301 redirect to www.xxxx.com work.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.