Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
As we all know, do redirect to include a lot of benefits, then how to do in the IIS6.0 301 permanent redirect it? In fact, very simple, I will explain the problems I encountered and the solution.
The author recently launched a new website, but for a variety of reasons. Only the top-level domain name (the top-level domain name is in the input without WWW) Access will not achieve a certain effect, if you add the WWW two domain name will appear some of these problems, some people will say, that directly resolve the top-level domain name without parsing the WWW two domain name can soon? Uh. Yes, but, according to the internet habits of most Chinese people, they like to enter the www.xxx.com format in the Address bar. And rarely directly enter the top-level domain access, unless you know some network-related knowledge! So, think of doing 301 permanent Redirect, the results of the internet search a large circle, most of them are to add some code and so on, more trouble, after a period of study, Finally found a way to do permanent redirection in IIS6.0, which is simple. It can be said to be super simple! Please see my method below, if you already have this method, then you can watch the lively bar. Don't spray me!
The method is simple!
The first step: Establish your website in IIS6.0, this website only binds the top-level domain name! The following figure shows:
Binding the domain name in IIS will be, if not contact me, willing to explain in detail!
Step Two: Create another Web site in IIS, and then bind the two-level domain name with www to the same root directory as your previous site. Then in the IIS Home Directory tab, select Redirect to URL, and then enter the specific Web site address you want to redirect to in the Enter box after redirect to, such as: http://xxxx.com, in the following illustration of "Permanent Redirection of resources":
Figure I
Figure II
Figure Three
At this point, permanent redirection is done! Let me explain what this means, why choose the permanent redirection of resources, etc.
Redirect: Meaning is when entering a URL, automatically jump to another URL, and the domain name to do jump meaning almost!
Why do I choose permanent redirection of resources?: I would like to give a permanent redirect of resources, (my site is the case), such as I need the top-level domain address: http://xxx.com/123/123.html So do the resources of the permanent redirect, When the visitor enters http://www.xxx.com/123/123.html, it automatically jumps to: http://xxx.com/123/123.html is it not convenient? and not waste traffic!
As for the above "input accurate" and "input URL under the directory" two features you can go to test, I do not use here, so also do not say more. We can test, the meaning is the same! slightly different!
I just on-line small station: http://4393.com.cn (4393 games) hope to get your advice and suggestions, thank you!
The above method is usually only applicable to VPS or independent server friends use (with server operation privileges). If you are a virtual host, you can let the host provider to help you (now the Virtual host Control Panel is very powerful, just a little setup can be)!