Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
301 redirect is our common technical means in changing the domain name or having multiple domain names to normalize the URLs. The purpose is to prevent the loss of traffic, while telling the search engine which domain name is the main domain name and so as not to disperse the weight.
301 redirect methods are many, such as Win independent server settings iis,asp and PHP code. But for the webmaster, such as the virtual host and static page, these methods are not easy to achieve. It would be better to be able to accomplish the 301 redirects needed at the point of interpretation. But because of the well-known reasons, the domestic service provider's resolution rarely 301 forwarding, this is indeed a headache. The following gives 2012 years with Namecheap (FREEDNS) to achieve the domain name between 301 Redirect and effective testing detailed graphics and text tutorial, hope to help the needs of friends.
First, modify the domain name DNS server
Since DNS takes effect at times, we do this step first. Open the Admin center of the domain name and set the NS record for NAMECHEAP free DNS at DNS:
Freedns1.registrar-servers.com
Freedns2.registrar-servers.com
Freedns3.registrar-servers.com
Freedns4.registrar-servers.com
Freedns5.registrar-servers.com
After a period of time, you can use the following command to detect whether DNS is in effect:
C:\>nslookup
>set Q=ns
> Enter your domain name
The return of Figure 1 below indicates that the DNS server modification has taken effect.
Figure 1 DNS effective detection
II. Registration and Login Namecheap account
Open the official website. If you have an account directly enter username and password click Log in login. If you don't have an account, click Signup to sign in.
Iii. Select Navigation->products->free DNS
Figure 2 Select Free DNS
Iv. Enter the domain name to be resolved
Figure 3 Get DNS
Get DNS, then click on a few next ...
V. Waiting for entry into force
Figure 4 Status of the domain name
When the status of the column and the same as above, is a small green hook, then congratulations, you can proceed to the next step.
Click on the domain name to add records
Figure 5 Adding a record
When you are finished, click Save Changes below.
Vii. Effective Testing
First give a tool address, is to detect the server header information, is to see whether the first 301 success. Detection address: Http://www.seoconsultants.com/tools/headers.asp#results
Open the Instrumentation tool input Url,check headers
will return a similar:
Server Response:
http/1.1 permanently server:nginx/1.0.14 date:wed, moved 06:52:55 GMT content-type:text/html Connection : Keep-alive content-length:178 location:http://www.zhibo100.com/
Where the moved permanently represents permanent redirection
Figure 6 Effective detection
At this point, the 301 redirect is complete.
Original from: Live www.zhibo100.com original, reproduced please keep, thank you!